aboutsummaryrefslogtreecommitdiff
path: root/x11-servers/xorg-server/files/patch-dix_devices.c
diff options
context:
space:
mode:
Diffstat (limited to 'x11-servers/xorg-server/files/patch-dix_devices.c')
-rw-r--r--x11-servers/xorg-server/files/patch-dix_devices.c20
1 files changed, 0 insertions, 20 deletions
diff --git a/x11-servers/xorg-server/files/patch-dix_devices.c b/x11-servers/xorg-server/files/patch-dix_devices.c
deleted file mode 100644
index f02738d39a20..000000000000
--- a/x11-servers/xorg-server/files/patch-dix_devices.c
+++ /dev/null
@@ -1,20 +0,0 @@
---- dix/devices.c.orig 2007-10-19 17:04:51.000000000 -0200
-+++ 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
- }
-
- /**