summaryrefslogtreecommitdiff
path: root/recipes/xorg-xserver/xserver-kdrive-1.5.3/no_xkb.patch
blob: 0920441563c51f3db9c77fd9be67f576177c3ca6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
--- a/dix/devices.c	2008-04-16 13:01:08.000000000 +0200
+++ b/dix/devices.c	2008-04-16 13:01:08.000000000 +0200
@@ -527,8 +527,8 @@
 #ifdef XKB
 	if (dev->key->xkbInfo)
 	    XkbFreeInfo(dev->key->xkbInfo);
-#endif
         dev->key->xkbInfo = NULL;
+#endif
 	xfree(dev->key->curKeySyms.map);
 	xfree(dev->key->modifierKeyMap);
 	xfree(dev->key);