Blame SOURCES/matchbox-window-manager-1.2-keysyms.patch

df191e
--- trunk/matchbox-window-manager/src/keys.c	2006/07/19 16:55:26	1361
df191e
+++ trunk/matchbox-window-manager/src/keys.c	2007/11/01 12:43:20	1761
df191e
@@ -35,10 +35,12 @@
df191e
 
df191e
   for (keycode = min_kc; keycode <= max_kc; keycode++) {
df191e
     for (col = 0; (k = XKeycodeToKeysym (w->dpy, keycode, col))
df191e
-           != NoSymbol; col++)
df191e
-      if (k == keysym && col == 1) {
df191e
+           != NoSymbol; col++) {
df191e
+      if (k == keysym && col == 1)
df191e
         return True;
df191e
-      }
df191e
+      if (k == keysym)
df191e
+	break;
df191e
+    }
df191e
   }  
df191e
   return False;
df191e
 }