summaryrefslogtreecommitdiff
path: root/src/input.c
diff options
context:
space:
mode:
authorsabetts <sabetts>2004-04-18 21:48:42 +0000
committersabetts <sabetts>2004-04-18 21:48:42 +0000
commitc9635a8c9e89c3900a210175f0d3f3cb3723931b (patch)
tree6dc9f91a58cd7df7f3cf0156e92f07b11cfcfd29 /src/input.c
parent996b6ae9e981fbafc10f59427f6a6f9057b2273c (diff)
downloadratpoison-c9635a8c9e89c3900a210175f0d3f3cb3723931b.zip
* src/manage.h (ungrab_keys_all_wins): new prototype
(grab_keys_all_wins): likewise * src/manage.c (grab_top_level_keys): renamed from grab_prefix_key (all callers updated). Grab all keys in the top level keymap. (ungrab_top_level_keys): renamed from ungrab_prefix_key (all callers updated). ungrab all keys in the top level keymap. (ungrab_keys_all_wins): new function (grab_keys_all_wins): likewise * src/globals.c: (rp_key_hook): rename from rp_prefix_hook. Dependant code updated. (set_rp_window_focus): change 'prefix' hook to 'key' hook. * src/events.c (handle_key): handle a top level key press. (handle_key): new arguments ks, and mod. (key_press): pass the keysym and modifier to handle_key * src/conf.h (TOP_KEYMAP): new define * src/actions.c (cmd_v_split, cmd_h_split): swap names. (user_commands): bind split to cmd_v_split. (initialize_default_keybindings): initialize the top level keymap (cmd_definekey): update the keys grabbed when changing a key on the top level keymap. (cmd_escape): update the escape key in the top level map. (cmd_delkmap): don't allow the deletion of the top level keymap.
Diffstat (limited to 'src/input.c')
-rw-r--r--src/input.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/input.c b/src/input.c
index ab52931..5b94c78 100644
--- a/src/input.c
+++ b/src/input.c
@@ -66,7 +66,7 @@ rp_mask_to_x11_mask (unsigned int mask)
result |= mask & RP_HYPER_MASK ? rp_modifier_info.hyper_mod_mask:0;
result |= mask & RP_SUPER_MASK ? rp_modifier_info.super_mod_mask:0;
- PRINT_DEBUG (("x11 mask = %x\n", mask));
+ PRINT_DEBUG (("x11 mask = %x\n", result));
return result;
}