keybinding: ignore LOCK

Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
Julien Danjou 2008-09-10 17:02:07 +02:00
parent fd8ad9d17c
commit d1d9d3bb52
1 changed files with 1 additions and 1 deletions

View File

@ -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;