summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2009-06-01 15:37:53 +1000
committerPeter Hutterer <peter.hutterer@who-t.net>2009-06-02 16:02:31 +1000
commita66686a83edd6093ed540414dda2b8700e4696fe (patch)
tree99ffd0dcd21a716155cd779fd46453041136eefa /include
parentf00cf7675164bb984ef310412f9e09582813adb1 (diff)
input: add support for XIAllDevices and XIAllMasterDevices passive grabs.
These grabs are suported through two fake devices inputInfo.all_devices and inputInfo.all_master_devices. These devices are not part of the device list and are only initialised for their device id, nothing else. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Diffstat (limited to 'include')
-rw-r--r--include/inputstr.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/inputstr.h b/include/inputstr.h
index 7f6e6ca77..f233034b0 100644
--- a/include/inputstr.h
+++ b/include/inputstr.h
@@ -528,6 +528,8 @@ typedef struct {
DeviceIntPtr off_devices; /* all devices turned off */
DeviceIntPtr keyboard; /* the main one for the server */
DeviceIntPtr pointer;
+ DeviceIntPtr all_devices;
+ DeviceIntPtr all_master_devices;
} InputInfo;
extern _X_EXPORT InputInfo inputInfo;