summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDaniel Stone <daniel@fooishbar.org>2006-10-20 00:28:40 +0300
committerDaniel Stone <daniels@endtroducing.fooishbar.org>2006-10-20 00:43:11 +0300
commita8d3dad9d9f2b9053843e655abe463a68ba8dcb7 (patch)
treeecdd1935f9aa2b76a65504c2fb95af6e19ce5016 /include
parentb0780312d80ea4af0136227f90fdd7ada3db71c5 (diff)
xi: add DEVICE_ENABLE control
Add DEVICE_ENABLE control, which allows runtime enabling and disabling of specific devices.
Diffstat (limited to 'include')
-rw-r--r--include/inputstr.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/inputstr.h b/include/inputstr.h
index e12b64195..64763213a 100644
--- a/include/inputstr.h
+++ b/include/inputstr.h
@@ -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 {