[mutter] keybindings: Drop an unnecessary check



commit fed3cd9e8296e2f2139e1e755d35e56ed87c74b2
Author: Jasper St. Pierre <jstpierre mecheye net>
Date:   Thu Oct 3 17:30:17 2013 -0400

    keybindings: Drop an unnecessary check

 src/core/keybindings.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)
---
diff --git a/src/core/keybindings.c b/src/core/keybindings.c
index 7f58334..f549630 100644
--- a/src/core/keybindings.c
+++ b/src/core/keybindings.c
@@ -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) ||


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]