From a66686a83edd6093ed540414dda2b8700e4696fe Mon Sep 17 00:00:00 2001 From: Peter Hutterer Date: Mon, 1 Jun 2009 15:37:53 +1000 Subject: 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 --- include/inputstr.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include') 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; -- cgit v1.2.3