xserver-multidpi/hw
Adam Tkac 1df6716281 xfree86: don't try to UnInit virtual devices in DIDR. (#20087)
DeleteInputDeviceRequest function doesn't handle "virtual" devices well.
TightVNC libvnc.so module to X (which makes bare Xorg VNC capable) uses such
kind of devices.

Bare Xvnc (it is something like Xvfb) simply uses AddInputDevice &
RegisterDevice functions. Xvnc uses DeleteInputDeviceRequest from Xi/stubs.c
so everything works fine (now I see that DeleteInputDeviceRequest in
Xi/stubs.c should call RemoveDevice function, shouldn't it? :) )

Situation is quite different when you use libvnc.so module. It uses same
schema as Xvnc, so it simply calls AddInputDevice & RegisterDevice. Thus
device is created correctly. When server is terminated it calls
DeleteInputDeviceRequest (now from hw/xfree86/common/xf86Xinput.c) for each
device. Here is the difference - Xvnc calls DeleteInputDeviceRequest from
Xi/stubs.c as I wrote above. Thus Xorg gets sigsegv because "VNC" devices
don't have real input driver.

X.Org Bug 20087 <http://bugs.freedesktop.org/show_bug.cgi?id=20087>

[This isn't really a fix (libVNC should behave correctly) but not crashing the
server sounds like an improvement.]
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2009-02-23 18:54:56 +10:00
..
dmx Constify atom name strings 2009-02-03 10:06:00 -08:00
kdrive kdrive: Nuke dead AGP and VGA code. (#19921) 2009-02-16 18:44:00 -05:00
vfb Xvfb: add missing include for new xkbsrv.h 2009-01-27 09:31:00 +10:00
xfree86 xfree86: don't try to UnInit virtual devices in DIDR. (#20087) 2009-02-23 18:54:56 +10:00
xnest Constify atom name strings 2009-02-03 10:06:00 -08:00
xquartz XQuartz: DefineInitialRootWindow is gone 2009-02-22 00:41:52 -08:00
xwin Cygwin/X: Fix keyboard layout mapping for Latin American keyboards 2009-02-22 13:08:42 +00:00
Makefile.am Remove xgl. 2008-06-12 16:00:50 -04:00