diff options
author | Peter Hutterer <peter.hutterer@who-t.net> | 2009-06-01 15:37:53 +1000 |
---|---|---|
committer | Peter Hutterer <peter.hutterer@who-t.net> | 2009-06-02 16:02:31 +1000 |
commit | a66686a83edd6093ed540414dda2b8700e4696fe (patch) | |
tree | 99ffd0dcd21a716155cd779fd46453041136eefa /dix/events.c | |
parent | f00cf7675164bb984ef310412f9e09582813adb1 (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 'dix/events.c')
-rw-r--r-- | dix/events.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/dix/events.c b/dix/events.c index 13ef5b871..d73487afc 100644 --- a/dix/events.c +++ b/dix/events.c @@ -248,6 +248,18 @@ static Bool CheckPassiveGrabsOnWindow(WindowPtr pWin, * * inputInfo.numDevices * Total number of devices. + * + * inputInfo.all_devices + * Virtual device used for XIAllDevices passive grabs. This device is + * not part of the inputInfo.devices list and mostly unset except for + * the deviceid. It exists because passivegrabs need a valid device + * reference. + * + * inputInfo.all_master_devices + * Virtual device used for XIAllMasterDevices passive grabs. This device + * is not part of the inputInfo.devices list and mostly unset except for + * the deviceid. It exists because passivegrabs need a valid device + * reference. */ InputInfo inputInfo; |