keybindings: Properly interpret keybindings
We need to compare against the keysym, not the keycode.
This commit is contained in:
parent
40b1e7312d
commit
6c0e16c482
@ -1862,7 +1862,7 @@ process_event (MetaKeyBinding *bindings,
|
||||
MetaKeyHandler *handler = bindings[i].handler;
|
||||
|
||||
if ((!on_window && handler->flags & META_KEY_BINDING_PER_WINDOW) ||
|
||||
bindings[i].keycode != event->keyval ||
|
||||
(event->keyval != bindings[i].keysym) ||
|
||||
(event->modifier_state != bindings[i].mask) ||
|
||||
meta_compositor_filter_keybinding (display->compositor, screen, &bindings[i]))
|
||||
continue;
|
||||
|
Loading…
Reference in New Issue
Block a user