summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlberts Muktupāvels <alberts.muktupavels@gmail.com>2015-05-27 16:52:38 +0300
committerAlberts Muktupāvels <alberts.muktupavels@gmail.com>2015-05-27 16:52:38 +0300
commit3201830924f2c1ec0a763ebfd4d7250c95448cf3 (patch)
treefd47dc411b4f7df195a44898463aa06d8d45441e
parent3b141bd51d4404e4eeab58fae9f9fa58d329d662 (diff)
downloadmetacity-3201830924f2c1ec0a763ebfd4d7250c95448cf3.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 5a4ed568..89ec6eaa 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",