rpms/matchbox-window-manager/OLPC-2 matchbox-window-manager-1.2-keysyms.patch, NONE, 1.1

Marco Pesenti Gritti (mpg) fedora-extras-commits at redhat.com
Fri Nov 9 20:10:48 UTC 2007


Author: mpg

Update of /cvs/pkgs/rpms/matchbox-window-manager/OLPC-2
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv29467

Added Files:
	matchbox-window-manager-1.2-keysyms.patch 
Log Message:
Add the patch to cvs, I will get it rigth eventually

matchbox-window-manager-1.2-keysyms.patch:

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




More information about the fedora-extras-commits mailing list