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
atom.c
Introduce a consistent coding style
2012-03-21 13:54:42 -07:00
buildatoms
BuiltInAtoms
colormap.c
Fix formatting of address operators
2012-12-05 18:09:48 -06:00
cursor.c
Introduce a consistent coding style
2012-03-21 13:54:42 -07:00
devices.c
Short-cut the input device cleanup process during AbortServer()
2013-02-08 09:06:14 -08:00
dispatch.c
Fix formatting of address operators
2012-12-05 18:09:48 -06:00
dispatch.h
Introduce a consistent coding style
2012-03-21 13:54:42 -07:00
dixfonts.c
dix: fix redundant redeclaration warnings in dixfont
2012-11-05 13:24:59 -06:00
dixutils.c
dix: introduce gpu screens. (v5)
2012-07-06 10:35:13 +01:00
enterleave.c
input: drop FP1616 macro
2012-11-19 12:12:23 +10:00
enterleave.h
dix: Move DeviceFocusEvent from Xi into enterleave.c
2012-05-17 08:50:44 +10:00
eventconvert.c
Merge remote-tracking branch 'yselkowitz/master'
2012-12-19 12:22:03 -08:00
events.c
dix: Set focus field on XI2 crossing events
2013-02-08 16:09:27 +10:00
extension.c
Use C99 designated initializers in dix Replies
2012-07-09 19:58:29 -07:00
ffs.c
Introduce a consistent coding style
2012-03-21 13:54:42 -07:00
gc.c
Fix up formatting of initializers for arrays of structs
2012-08-06 15:22:53 -07:00
getevents.c
dix: support the transformation matrix for relative devices.
2013-02-08 09:02:57 -08:00
globals.c
os: Add -displayfd option
2012-05-01 11:36:30 +10:00
glyphcurs.c
Introduce a consistent coding style
2012-03-21 13:54:42 -07:00
grabs.c
dix: don't copy the wrong event mask when activating a passive grab
2012-12-18 08:53:46 +10:00
initatoms.c
Introduce a consistent coding style
2012-03-21 13:54:42 -07:00
inpututils.c
dix: split xi2_mask_isset into a per-device function
2012-12-12 17:25:16 +10:00
main.c
Close GPU screens before core screens
2012-08-14 17:13:52 -07:00
Makefile.am
input: add a TouchClassRec to the devices
2011-12-19 09:08:36 +10:00
pixmap.c
pixmap: have slave pixmap take a reference on master pixmap
2012-08-07 08:25:06 +10:00
privates.c
privates: Resize GPU screen-specific privates too
2012-07-09 16:30:24 -07:00
property.c
Use C99 designated initializers in dix Events
2012-07-09 22:52:30 -07:00
protocol.txt
ptrveloc.c
dix: unify prefix for ptraccel debugging in DebugAccelF macro
2013-02-08 14:00:56 +10:00
region.c
Introduce a consistent coding style
2012-03-21 13:54:42 -07:00
registry.c
Use C99 designated initializers in dix registry
2012-07-09 22:52:30 -07:00
resource.c
dix: add reference count of the resource to ResourceSizeRec
2012-04-18 12:49:11 +03:00
selection.c
Use C99 designated initializers in dix Events
2012-07-09 22:52:30 -07:00
swaprep.c
Remove unneccesary casts from WriteToClient calls
2012-07-09 19:12:56 -07:00
swapreq.c
Use C99 designated initializers in dix Events
2012-07-09 22:52:30 -07:00
tables.c
Make indentation of dix/tables.c much more consistent and readable
2012-08-06 15:22:53 -07:00
touch.c
dix: add resource type to touch listeners
2013-01-09 12:33:36 +10:00
window.c
Fix formatting of address operators
2012-12-05 18:09:48 -06:00
Xserver-dtrace.h.in
dix: add dtrace probes to input API
2012-03-22 11:33:42 +10:00
Xserver.d
dix: add dtrace probes to input API
2012-03-22 11:33:42 +10:00