diff options
author | Peter Hutterer <peter.hutterer@who-t.net> | 2009-03-08 21:16:54 +1000 |
---|---|---|
committer | Peter Hutterer <peter.hutterer@who-t.net> | 2009-03-11 14:49:07 +1000 |
commit | 2712dbc2609ad75674c77df04d42899844968e10 (patch) | |
tree | 821356954ab24c5c0007ccc12914f4d4cb0fa504 /include | |
parent | 30c2e3f9398f3d9cbae70150e4bb5cec6dfcc0a1 (diff) |
Add support for XIHierarchyEvent.
Diffstat (limited to 'include')
-rw-r--r-- | include/X11/extensions/XInput2.h | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/include/X11/extensions/XInput2.h b/include/X11/extensions/XInput2.h index 4ef622c..e0ca45a 100644 --- a/include/X11/extensions/XInput2.h +++ b/include/X11/extensions/XInput2.h @@ -131,6 +131,14 @@ typedef struct { char pad[68]; /* force same size as XEvent */ } XIEvent; + +typedef struct { + int deviceid; + int attachment; + int use; + Bool enabled; +} XIHierarchyInfo; + /* * Notifies the client that the device hierarchy has been changed. The client * is expected to re-query the server for the device hierarchy. @@ -143,7 +151,10 @@ typedef struct { int extension; /* XI extension offset */ int evtype; /* XI_DeviceHierarchyChangedNotify */ Time time; -} XDeviceHierarchyChangedEvent; + int flags; + int num_devices; + XIHierarchyInfo *info; +} XIDeviceHierarchyEvent; /* * Notifies the client that the classes have been changed. This happens when |