[metacity/gnome-3-16] Revert "keybindings: don't grab keybindings	without modmask"
- From: Alberts Muktupāvels <muktupavels src gnome org>
- To: commits-list gnome org
- Cc: 
- Subject: [metacity/gnome-3-16] Revert "keybindings: don't grab keybindings	without modmask"
- Date: Wed, 27 May 2015 13:53:48 +0000 (UTC)
commit 60a272754d64c73b885912c7a3d3c28108c108ea
Author: Alberts Muktupāvels <alberts muktupavels gmail com>
Date:   Wed May 27 16:53:36 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 f06a53c..ea332b9 100644
--- a/src/core/keybindings.c
+++ b/src/core/keybindings.c
@@ -699,15 +699,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]