From c9635a8c9e89c3900a210175f0d3f3cb3723931b Mon Sep 17 00:00:00 2001 From: sabetts Date: Sun, 18 Apr 2004 21:48:42 +0000 Subject: * 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. --- src/input.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/input.c') 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; } -- cgit v1.2.3