[yocto] [matchbox-wm][PATCH 2/2] keys: Grab all modifier combos

Jussi Kukkonen jussi.kukkonen at intel.com
Tue Apr 12 04:43:40 PDT 2016


Handle even the last combo, the one with all modifiers applied at the
same time.

Signed-off-by: Jussi Kukkonen <jussi.kukkonen at intel.com>
---
 src/keys.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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))
 	    {
-- 
2.8.0.rc3




More information about the yocto mailing list