mirror of
https://github.com/awesomeWM/awesome
synced 2024-11-17 07:47:41 +01:00
keybinding: ignore shift when getting keysym
Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
parent
62c2fb1293
commit
13edc48587
1 changed files with 2 additions and 1 deletions
|
@ -266,7 +266,8 @@ keybinding_find(const xcb_key_press_event_t *ev)
|
|||
int l, r, mod = XUTIL_MASK_CLEAN(ev->state);
|
||||
xcb_keysym_t keysym;
|
||||
|
||||
keysym = key_getkeysym(ev->detail, ev->state);
|
||||
/* get keysym ignoring shift */
|
||||
keysym = key_getkeysym(ev->detail, ev->state & ~XCB_MOD_MASK_SHIFT);
|
||||
|
||||
again:
|
||||
l = 0;
|
||||
|
|
Loading…
Reference in a new issue