keybindings: Drop an unnecessary check

This commit is contained in:
Jasper St. Pierre 2013-10-03 17:30:17 -04:00
parent d82e24981b
commit c8bf8c17be

View File

@ -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) ||