xserver-multidpi/hw/xfree86/common
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
..
compiler.h Remove unused barrier macros on alpha. 2009-02-06 18:31:12 -05:00
extramodes Remove some default modes that really shouldn't be in the default set. 2008-06-24 10:40:36 -04:00
fourcc.h Remove RCS tags. Fix Xprint makefile braindamage. 2006-07-21 17:56:00 -04:00
Makefile.am XFree86: Fix build with DGA disabled 2009-01-05 11:23:39 +02:00
modeline2c.awk Bug #14927: Fix the math for xf86NumDefaultModes. 2008-03-10 09:14:20 -04:00
scoasm.h Remove RCS tags. Fix Xprint makefile braindamage. 2006-07-21 17:56:00 -04:00
vesamodes Fix standard VESA modes. 2006-11-03 14:06:32 -08:00
vidmodeproc.h Rework symbol visibility for easier maintenance 2008-12-03 05:43:34 -02:00
xf86.h Revert "Bus: Remove xf86SetAccessFuncs() and related machinery" 2009-02-04 23:27:32 -05:00
xf86AutoConfig.c config: Add vboxvideo and tga to the magic driver list 2008-12-16 13:46:59 -05:00
xf86Build.h.in Print the build time as well as the date if we can. 2007-06-04 02:03:44 -04:00
xf86Bus.c Revert "Bus: Remove xf86SetAccessFuncs() and related machinery" 2009-02-04 23:27:32 -05:00
xf86Bus.h Revert "Bus: Remove xf86SetAccessFuncs() and related machinery" 2009-02-04 23:27:32 -05:00
xf86cmap.c randr: Improve per-crtc gamma support. 2008-12-17 17:03:12 +01:00
xf86cmap.h Rework symbol visibility for easier maintenance 2008-12-03 05:43:34 -02:00
xf86Config.c Obsolete InputDevices keyword in xorg.conf Files section 2009-02-18 14:50:25 -08:00
xf86Config.h First pass at improved video driver autoloading 2007-10-09 22:13:15 -04:00
xf86Configure.c Check for and report errors writing xorg.conf.new from Xorg -configure 2009-02-12 18:34:22 -08:00
xf86Cursor.c Remove #define NEED_EVENTS and NEED_REPLIES 2008-12-12 11:43:32 +10:00
xf86DGA.c mi: change custom handlers to internal events 2009-02-23 17:52:40 +10:00
xf86DPMS.c Rework symbol visibility for easier maintenance 2008-12-03 05:43:34 -02:00
xf86Events.c Input: Don't re-block SIGIO in xf86SigioReadInput() 2009-02-13 17:25:32 -05:00
xf86fbBus.c Bus: Delete some obfuscatory macros 2009-02-04 22:49:33 -05:00
xf86fbman.c Rework symbol visibility for easier maintenance 2008-12-03 05:43:34 -02:00
xf86fbman.h Rework symbol visibility for easier maintenance 2008-12-03 05:43:34 -02:00
xf86Globals.c Obsolete InputDevices keyword in xorg.conf Files section 2009-02-18 14:50:25 -08:00
xf86Helper.c xfree86: ANSI cleanups 2009-01-11 08:54:11 +01:00
xf86Init.c Add XkbDir to Files config file section 2009-02-17 11:01:15 -08:00
xf86InPriv.h xfree86: don't FatalError on "too many input devices". 2008-12-02 15:50:38 +10:00
xf86Mode.c Rework symbol visibility for easier maintenance 2008-12-03 05:43:34 -02:00
xf86Module.h Input: Overhaul keyboard initialisation process 2009-01-22 15:08:51 +11:00
xf86noBus.c Bus: Delete some obfuscatory macros 2009-02-04 22:49:33 -05:00
xf86Opt.h Rework symbol visibility for easier maintenance 2008-12-03 05:43:34 -02:00
xf86Option.c Rework symbol visibility for easier maintenance 2008-12-03 05:43:34 -02:00
xf86pciBus.c PCI: Remove pciBusAddrToHostAddr and associated nonsense 2009-02-16 16:46:39 -05:00
xf86pciBus.h Bus: remove useless isaConvertRange2Host 2008-11-24 23:40:04 -05:00
xf86PciInfo.h No more "-scanpci" given that we already have it in libpciaccess. 2008-02-25 17:08:07 -03:00
xf86PM.c Rework symbol visibility for easier maintenance 2008-12-03 05:43:34 -02:00
xf86Priv.h Obsolete InputDevices keyword in xorg.conf Files section 2009-02-18 14:50:25 -08:00
xf86Privstr.h Remove unused HandleSpecialKeys config option 2008-12-02 13:09:22 -08:00
xf86RAC.c Rework symbol visibility for easier maintenance 2008-12-03 05:43:34 -02:00
xf86RAC.h Rework symbol visibility for easier maintenance 2008-12-03 05:43:34 -02:00
xf86RandR.c Rework symbol visibility for easier maintenance 2008-12-03 05:43:34 -02:00
xf86Resources.h Rework symbol visibility for easier maintenance 2008-12-03 05:43:34 -02:00
xf86sbusBus.c Bus: Delete some obfuscatory macros 2009-02-04 22:49:33 -05:00
xf86sbusBus.h Correct wrong symbol reference on sparc. 2008-12-08 22:11:50 -02:00
xf86ShowOpts.c xfree86: don't mix declarations and code 2009-01-11 08:54:11 +01:00
xf86str.h Revert "Bus: Remove xf86SetAccessFuncs() and related machinery" 2009-02-04 23:27:32 -05:00
xf86VidMode.c Rework symbol visibility for easier maintenance 2008-12-03 05:43:34 -02:00
xf86Xinput.c xfree86: don't try to UnInit virtual devices in DIDR. (#20087) 2009-02-23 18:54:56 +10:00
xf86Xinput.h Remove #define NEED_EVENTS and NEED_REPLIES 2008-12-12 11:43:32 +10:00
xf86xv.c XFree86: Xv: Add ClipNotify helper 2009-01-05 11:25:57 +02:00
xf86xv.h XFree86: Xv: Add ClipNotify helper 2009-01-05 11:25:57 +02:00
xf86xvmc.c Rework symbol visibility for easier maintenance 2008-12-03 05:43:34 -02:00
xf86xvmc.h Rework symbol visibility for easier maintenance 2008-12-03 05:43:34 -02:00
xf86xvpriv.h XFree86: Xv: Add ClipNotify helper 2009-01-05 11:25:57 +02:00
xisb.c Rework symbol visibility for easier maintenance 2008-12-03 05:43:34 -02:00
xisb.h Rework symbol visibility for easier maintenance 2008-12-03 05:43:34 -02:00
xorgHelper.c xfree86: ANSI cleanups 2009-01-11 08:54:11 +01:00
xorgVersion.h Remove RCS tags. Fix Xprint makefile braindamage. 2006-07-21 17:56:00 -04:00