keybinding: ignore LOCK
Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
parent
fd8ad9d17c
commit
d1d9d3bb52
|
@ -268,7 +268,7 @@ keybinding_find(const xcb_key_press_event_t *ev)
|
||||||
xcb_keysym_t keysym;
|
xcb_keysym_t keysym;
|
||||||
|
|
||||||
/* get keysym ignoring shift and mod5 */
|
/* 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:
|
again:
|
||||||
l = 0;
|
l = 0;
|
||||||
|
|
Loading…
Reference in New Issue