[metacity] Revert "keybindings: don't grab keybindings without modmask"



commit 3201830924f2c1ec0a763ebfd4d7250c95448cf3
Author: Alberts Muktupāvels <alberts muktupavels gmail com>
Date:   Wed May 27 16:52:38 2015 +0300

    Revert "keybindings: don't grab keybindings without modmask"
    
    This reverts commit 5aeae2fcc6763839333372086ee2825d40f0d7b4.

 src/core/keybindings.c |    9 ---------
 1 files changed, 0 insertions(+), 9 deletions(-)
---
diff --git a/src/core/keybindings.c b/src/core/keybindings.c
index 5a4ed56..89ec6ea 100644
--- a/src/core/keybindings.c
+++ b/src/core/keybindings.c
@@ -636,15 +636,6 @@ meta_change_keygrab (MetaDisplay *display,
    * X provides no better way to do this.
    */
 
-  if (modmask == 0)
-    {
-      meta_topic (META_DEBUG_KEYBINDINGS,
-                  "Will not %s keybinding %s without modmask\n",
-                  grab ? "grab" : "ungrab",
-                  keysym_to_string (keysym));
-      return;
-    }
-
   meta_topic (META_DEBUG_KEYBINDINGS,
               "%s keybinding %s keycode %d mask 0x%x on 0x%lx\n",
               grab ? "Grabbing" : "Ungrabbing",


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