mirror of
https://github.com/brl/mutter.git
synced 2024-11-13 01:36:10 -05:00
keybindings: Drop an unnecessary check
This commit is contained in:
parent
d82e24981b
commit
c8bf8c17be
@ -1866,7 +1866,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