mirror of
https://github.com/brl/mutter.git
synced 2024-12-25 12:32:05 +00:00
keybindings: Drop an unnecessary check
This commit is contained in:
parent
d0d8a3d4ea
commit
fed3cd9e82
@ -1861,7 +1861,6 @@ process_event (MetaKeyBinding *bindings,
|
||||
MetaKeyHandler *handler = bindings[i].handler;
|
||||
|
||||
if ((!on_window && handler->flags & META_KEY_BINDING_PER_WINDOW) ||
|
||||
event->evtype != XI_KeyPress ||
|
||||
bindings[i].keycode != event->detail ||
|
||||
((event->mods.effective & 0xff & ~(display->ignored_modifier_mask)) !=
|
||||
bindings[i].mask) ||
|
||||
|
Loading…
Reference in New Issue
Block a user