xi: add DEVICE_ENABLE control

Add DEVICE_ENABLE control, which allows runtime enabling and disabling
of specific devices.
This commit is contained in:
Daniel Stone
2006-10-20 00:28:40 +03:00
committed by Daniel Stone
parent b0780312d8
commit a8d3dad9d9
5 changed files with 57 additions and 0 deletions

View File

@@ -265,6 +265,7 @@ typedef struct _DeviceIntRec {
used to initialize, turn on, or
turn off the device */
Bool inited; /* TRUE if INIT returns Success */
Bool enabled; /* TRUE if ON returns Success */
Bool coreEvents; /* TRUE if device also sends core */
GrabPtr grab; /* the grabber - used by DIX */
struct {