xserver-multidpi/hw
Peter Hutterer 9f79e93b6b Short-cut the input device cleanup process during AbortServer()
If we're about to abort, we're already in the signal handler and cannot call
down to the default device cleanup routines (which reset, free, alloc, and
do a bunch of other things).

Add a new DEVICE_ABORT mode to signal a driver's DeviceProc that it must
reset the hardware if needed but do nothing else. An actual HW reset is only
required for some drivers dealing with the HW directly.

This is largely backwards-compatible, hence the input ABI minor bump only.

Drivers we care about either return BadValue on a mode that's not
DEVICE_{INIT|ON|OFF|CLOSE} or print an error and return BadValue. Exception
here is vmmouse, which currently ignores it and would not reset anything.
This should be fixed if the reset is required.

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: Keith Packard <keithp@keithp.com>
Signed-off-by: Keith Packard <keithp@keithp.com>
2013-02-08 09:06:14 -08:00
..
dmx dmx: don't include dmx-config.h from xdmxconfig (#37502) 2013-02-08 13:47:17 +10:00
kdrive Fix formatting of address operators 2012-12-05 18:09:48 -06:00
vfb vfb: Initialize the GLX extension again. 2012-11-21 11:13:55 +11:00
xfree86 Short-cut the input device cleanup process during AbortServer() 2013-02-08 09:06:14 -08:00
xnest dix: Remove #includes of mibstore.h 2012-09-23 10:31:27 -07:00
xquartz XQuartz: Don't add the 15bit visual any more 2012-12-18 01:37:27 -08:00
xwin Merge remote-tracking branch 'jturney/xserver-next' 2013-01-20 15:58:38 -08:00
Makefile.am Catch errors in recursive relink targets 2010-03-22 00:45:57 -05:00