Bugs with recent xorg server
Not sure if this is the place to post as there does not seem to be a slackware "report bugs" facility. To catch the current momentum of the recent xorg server changes (11/16/07), i would like to propose a (temporary) solution to the fact that the "caps lock" led on keyboards no longer light up since xorg 1.4:
--- 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
}
/**
This small patch was found on their mailing list some time ago, and it seems to fix the problem, but i do not know accurately the correct configure for xorg server so as to compile it myself (for it to be used in slackware).
|