1
0
xorg-x11-server/xorg-server-1.4-vnc-memory.diff

20 lines
525 B
Diff

diff -u -w -r xorg-server-1.4.0.90.orig//hw/vnc/init.c xorg-server-1.4.0.90/hw/vnc/init.c
--- xorg-server-1.4.0.90.orig//hw/vnc/init.c 2008-03-20 14:49:06.620576750 +0100
+++ xorg-server-1.4.0.90/hw/vnc/init.c 2008-03-20 14:49:27.769898500 +0100
@@ -827,6 +827,7 @@
KbdDeviceOff();
break;
case DEVICE_CLOSE:
+ vncSetKeyboardDevice(NULL);
if (pDev->on)
KbdDeviceOff();
break;
@@ -869,6 +870,7 @@
break;
case DEVICE_CLOSE:
+ vncSetPointerDevice(NULL);
if (pDev->on)
PtrDeviceOff();
break;