SOURCES: xorg-xserver-server-bug-12434.patch (NEW) - temporary wor...

arekm arekm at pld-linux.org
Fri Oct 26 23:04:36 CEST 2007


Author: arekm                        Date: Fri Oct 26 21:04:36 2007 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- temporary workaround until bug properly solved

---- Files affected:
SOURCES:
   xorg-xserver-server-bug-12434.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SOURCES/xorg-xserver-server-bug-12434.patch
diff -u /dev/null SOURCES/xorg-xserver-server-bug-12434.patch:1.1
--- /dev/null	Fri Oct 26 23:04:36 2007
+++ SOURCES/xorg-xserver-server-bug-12434.patch	Fri Oct 26 23:04:31 2007
@@ -0,0 +1,20 @@
+--- xorg-server-1.4/dix/devices.c.orig  2007-10-19 17:04:51.000000000 -0200
++++ xorg-server-1.4/dix/devices.c       2007-10-23 17:50:38.000000000 -0200
+@@ -294,7 +294,17 @@ CoreKeyboardBell(int volume, DeviceIntPt
+ static void
+ CoreKeyboardCtl(DeviceIntPtr pDev, KeybdCtrl *ctrl)
+ {
++#ifdef XKB
++    if (!noXkbExtension) {
++       DeviceIntPtr dev = (DeviceIntPtr)
++           pDev->devPrivates[CoreDevicePrivatesIndex].ptr;
++
++       if (dev && dev->key && dev->key->xkbInfo && dev->key->xkbInfo->kbdProc)
++           (*dev->key->xkbInfo->kbdProc)(dev, ctrl);
++    }
++#else
+     return;
++#endif
+ }
+
+ /**
================================================================


More information about the pld-cvs-commit mailing list