Witam. W xserver-1.4 nie działają diody sygnalizujące wciśniecie klawiszy CapsLock i NumLock. Jest to znany wszystkim problem, na bugtracku xorg znalazł się mały patch rozwiązujący go: https://bugs.freedesktop.org/show_bug.cgi?id=12434 (komentarz #17)
Patch działa z tym co jest na HEAD. -- Pepe
diff -urN xorg-xserver-server.spec.orig xorg-xserver-server.spec --- xorg-xserver-server.spec.orig 2007-10-26 22:41:15.000000000 +0200 +++ xorg-xserver-server.spec 2007-10-26 22:41:26.000000000 +0200 @@ -34,6 +34,7 @@ Patch6: %{name}-exa.patch Patch7: %{name}-bug-12528.patch Patch8: %{name}-bug-8080.patch +Patch9: %{name}-bug-12434.patch URL: http://xorg.freedesktop.org/ # for glx headers BuildRequires: OpenGL-GLX-devel @@ -302,6 +303,7 @@ %patch6 -p1 %patch7 -p1 %patch8 -p1 +%patch9 -p1 # xserver uses pixman-1 API/ABI so put that explictly here sed -i -e 's#<pixman\.h#<pixman-1/pixman.h#g' ./fb/fb.h ./include/miscstruct.h ./render/picture.h
--- 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 } /**
_______________________________________________ pld-devel-pl mailing list pld-devel-pl@lists.pld-linux.org http://lists.pld-linux.org/mailman/listinfo/pld-devel-pl