xserver-multidpi/hw/xfree86
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
..
common xfree86: don't try to UnInit virtual devices in DIDR. (#20087) 2009-02-23 18:54:56 +10:00
ddc Include Xmd.h from edid.h 2009-01-07 09:31:17 -05:00
dixmods glx: Replace broken GLX visual setup with a fixed "all" mode. 2009-02-10 17:59:03 -08:00
doc Add Extensions section to xorg.conf man page 2009-02-20 16:11:38 -08:00
dri Kill off --with-mesa-source completely 2009-01-18 09:49:06 -08:00
dri2 Don't reuse PKG_CHECK_MODULES identifiers 2009-01-18 09:49:06 -08:00
exa More man page updates for 1.6 release for Xorg, xorg.conf & exa man pages. 2008-12-01 20:02:34 -08:00
fbdevhw fbdevHWGetRec() doesn't return the private data 2009-02-04 09:53:03 +10:00
i2c Use libtool convenience libraries and better "symbol" table. 2008-12-07 02:22:19 -02:00
int10 Fix "warning: XXX defined but not used" 2009-02-04 09:41:40 +10:00
loader loader: Remove icache flushes on alpha. 2009-02-04 22:44:20 -05:00
modes Eliminate the shadow clear on transform change 2009-02-17 11:09:08 -08:00
os-support Build fix, remove export of pciBusAddrToHostAddr 2009-02-16 18:29:33 -05:00
parser Obsolete InputDevices keyword in xorg.conf Files section 2009-02-18 14:50:25 -08:00
ramdac xfree86: ANSI cleanups 2009-01-11 08:54:11 +01:00
shadowfb xfree86: don't mix declarations and code 2009-01-11 08:54:11 +01:00
utils Make cvt complain about invalid arguments more often. 2009-01-06 08:58:53 -08:00
vbe Rework symbol visibility for easier maintenance 2008-12-03 05:43:34 -02:00
vgahw xfree86: ANSI cleanups 2009-01-11 08:54:11 +01:00
x86emu Convert libx86emu.a to a "libtool convenience library". 2008-12-07 18:31:32 -02:00
xaa Don't enable XAA offscreen pixmaps with Option "XaaOffscreenPixmaps" "no". 2009-02-03 13:49:19 -08:00
xf8_16bpp Rework symbol visibility for easier maintenance 2008-12-03 05:43:34 -02:00
Makefile.am Explicitly add libxorg_la_LIBADD to libxorg_la_DEPENDENCIES 2009-01-25 19:19:01 -02:00
xorgconf.cpp Update sample xorg.conf file 2008-12-02 14:35:45 -08:00