summaryrefslogtreecommitdiff
path: root/XI2proto.h
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2009-05-12 16:14:01 +1000
committerPeter Hutterer <peter.hutterer@who-t.net>2009-05-12 16:14:01 +1000
commit12635cbd4aea0ba3b38b96682d63bb71ba8c737e (patch)
treef1d1552c5d3287d0d7045c7296ea1405decc07ba /XI2proto.h
parent886d2aceb77070292e984ed2b25e31ac9c82aba7 (diff)
Add per-device flags to XIDeviceHierarchyEvents
Diffstat (limited to 'XI2proto.h')
-rw-r--r--XI2proto.h12
1 files changed, 8 insertions, 4 deletions
diff --git a/XI2proto.h b/XI2proto.h
index 1ea6270..67502bf 100644
--- a/XI2proto.h
+++ b/XI2proto.h
@@ -778,6 +778,10 @@ typedef struct
::XIFloatingSlave */
BOOL enabled; /**< TRUE if the device is enabled */
uint16_t pad;
+ uint32_t flags; /**< ::XIMasterAdded, ::XIMasterDeleted,
+ ::XISlaveAttached, ::XISlaveDetached,
+ ::XISlaveAdded, ::XISlaveRemoved,
+ ::XIDeviceEnabled, ::XIDeviceDisabled */
} xXIHierarchyInfo;
typedef struct
@@ -789,10 +793,10 @@ typedef struct
uint16_t evtype; /**< ::XI_Hierarchy */
uint16_t deviceid;
Time time;
- uint32_t flags; /* ::XIMasterAdded, ::XIMasterDeleted,
- ::XISlaveAttached, ::XISlaveDetached,
- ::XISlaveAdded, ::XISlaveRemoved,
- ::XIDeviceEnabled, ::XIDeviceDisabled */
+ uint32_t flags; /**< ::XIMasterAdded, ::XIMasterDeleted,
+ ::XISlaveAttached, ::XISlaveDetached,
+ ::XISlaveAdded, ::XISlaveRemoved,
+ ::XIDeviceEnabled, ::XIDeviceDisabled */
uint16_t num_devices;
uint16_t pad0;
uint32_t pad1;