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

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