From fd8ad9d17cbdc52711b8eb22a716f718a640ae3d Mon Sep 17 00:00:00 2001 From: Julien Danjou Date: Wed, 10 Sep 2008 16:31:12 +0200 Subject: [PATCH] keybinding: ignore Mod5 when getting keysym Signed-off-by: Julien Danjou --- keybinding.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/keybinding.c b/keybinding.c index 005728a7..b0b17142 100644 --- a/keybinding.c +++ b/keybinding.c @@ -267,8 +267,8 @@ keybinding_find(const xcb_key_press_event_t *ev) int l, r, mod = XUTIL_MASK_CLEAN(ev->state); xcb_keysym_t keysym; - /* get keysym ignoring shift */ - keysym = key_getkeysym(ev->detail, ev->state & ~XCB_MOD_MASK_SHIFT); + /* get keysym ignoring shift and mod5 */ + keysym = key_getkeysym(ev->detail, ev->state & ~(XCB_MOD_MASK_SHIFT | XCB_MOD_MASK_5)); again: l = 0;