xserver-multidpi/os
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
..
.gitignore dix and os: gitignore dix.O and os.O 2011-09-23 17:14:47 -07:00
access.c Fix formatting of address operators 2012-12-05 18:09:48 -06:00
auth.c Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
backtrace.c Print backtrace in a signal-safe manner 2012-07-02 22:34:32 -07:00
client.c Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
connection.c os: Hide the Connection{In,Out}put implementation details 2012-09-20 14:40:18 -04:00
io.c os: Don't re-declare ConnectionInputPtr and ConnectionOutputPtr 2012-10-04 23:15:54 -07:00
log.c Short-cut the input device cleanup process during AbortServer() 2013-02-08 09:06:14 -08:00
Makefile.am Move to autoconf standard function name checks & defines 2011-12-05 14:32:45 -08:00
mitauth.c Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
oscolor.c Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
osdep.h os: Hide the Connection{In,Out}put implementation details 2012-09-20 14:40:18 -04:00
osinit.c os/osinit.c: no getpgrp() and setpgrp() on WIN32 2012-11-28 14:44:11 +00:00
rpcauth.c Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
strcasecmp.c Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
strcasestr.c Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
strlcat.c Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
strlcpy.c Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
strndup.c Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
utils.c os: Round fraction in pnprintf %f format 2013-02-08 08:57:43 -08:00
WaitFor.c os: make timers signal-safe 2012-05-01 11:36:35 +10:00
xdmauth.c Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
xdmcp.c Fix formatting of address operators 2012-12-05 18:09:48 -06:00
xprintf.c os/xprintf: add Xvscnprintf and Xscnprintf 2012-05-03 14:59:23 +10:00
xsha1.c os: Add libnettle as a choice of SHA1 implementation 2012-11-05 13:34:18 -06:00
xstrans.c Introduce a consistent coding style 2012-03-21 13:54:42 -07:00