aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJussi Kukkonen <jussi.kukkonen@intel.com>2016-04-12 14:43:40 +0300
committerRoss Burton <ross.burton@intel.com>2016-04-12 13:07:28 +0100
commiteebeaecd91da01b08c1e66c74b41ab85d5f274f6 (patch)
treeaca3896e766a264f52b52d223353cc6e3c86a3f1
parentf3faedf76639b5742d4f3bf058d26eb0fc05a255 (diff)
downloadmatchbox-window-manager-eebeaecd91da01b08c1e66c74b41ab85d5f274f6.tar.gz
matchbox-window-manager-eebeaecd91da01b08c1e66c74b41ab85d5f274f6.tar.bz2
matchbox-window-manager-eebeaecd91da01b08c1e66c74b41ab85d5f274f6.zip
keys: Grab all modifier combos
Handle even the last combo, the one with all modifiers applied at the same time. Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
-rw-r--r--src/keys.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/keys.c b/src/keys.c
index 68c27dd..bc83bd4 100644
--- a/src/keys.c
+++ b/src/keys.c
@@ -495,7 +495,7 @@ keys_grab(Wm *w, Bool ungrab)
int ignored_mask = 0;
/* Needed to grab all ignored combo's too */
- while (ignored_mask < (int) w->config->kb->lock_mask)
+ while (ignored_mask <= (int) w->config->kb->lock_mask)
{
if (ignored_mask & ~(w->config->kb->lock_mask))
{