summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlberts Muktupāvels <alberts.muktupavels@gmail.com>2015-05-27 16:53:36 +0300
committerAlberts Muktupāvels <alberts.muktupavels@gmail.com>2015-05-27 16:53:36 +0300
commit60a272754d64c73b885912c7a3d3c28108c108ea (patch)
treec25aba527da9219d20b36eda73183ee136dba108
parent7d0e82b7000753c85addb8d15b8968378ca9251e (diff)
downloadmetacity-60a272754d64c73b885912c7a3d3c28108c108ea.tar.gz
Revert "keybindings: don't grab keybindings without modmask"
This reverts commit 5aeae2fcc6763839333372086ee2825d40f0d7b4.
-rw-r--r--src/core/keybindings.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/core/keybindings.c b/src/core/keybindings.c
index f06a53c7..ea332b97 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",