From d1d9d3bb520f0fcf21839ee39b05cd61031355fd Mon Sep 17 00:00:00 2001 From: Julien Danjou Date: Wed, 10 Sep 2008 17:02:07 +0200 Subject: [PATCH] keybinding: ignore LOCK Signed-off-by: Julien Danjou --- keybinding.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/keybinding.c b/keybinding.c index b0b171420..95d08967b 100644 --- a/keybinding.c +++ b/keybinding.c @@ -268,7 +268,7 @@ keybinding_find(const xcb_key_press_event_t *ev) xcb_keysym_t keysym; /* get keysym ignoring shift and mod5 */ - keysym = key_getkeysym(ev->detail, ev->state & ~(XCB_MOD_MASK_SHIFT | XCB_MOD_MASK_5)); + keysym = key_getkeysym(ev->detail, ev->state & ~(XCB_MOD_MASK_SHIFT | XCB_MOD_MASK_5 | XCB_MOD_MASK_LOCK)); again: l = 0;