mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-23 00:43:28 +00:00
Add temporary fix for LEDs. Proper fix will be available in next
xorg-server release but this one has been deemed good enough for now. Obtained from: fd.o bugzilla
This commit is contained in:
parent
1b3455b692
commit
88e6e25580
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=202292
@ -7,7 +7,7 @@
|
||||
|
||||
PORTNAME= xorg-server
|
||||
PORTVERSION= 1.4
|
||||
PORTREVISION= 1
|
||||
PORTREVISION= 2
|
||||
PORTEPOCH= 1
|
||||
CATEGORIES= x11-servers
|
||||
MASTER_SITES= http://xorg.freedesktop.org/releases/individual/xserver/:fdo \
|
||||
|
20
x11-servers/xorg-server/files/patch-dix_devices.c
Normal file
20
x11-servers/xorg-server/files/patch-dix_devices.c
Normal file
@ -0,0 +1,20 @@
|
||||
--- 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
|
||||
}
|
||||
|
||||
/**
|
Loading…
Reference in New Issue
Block a user