summaryrefslogtreecommitdiff
path: root/XI2proto.h
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2009-06-08 14:23:27 +1000
committerPeter Hutterer <peter.hutterer@who-t.net>2009-06-08 15:39:53 +1000
commit03309cfbc19fc16b5ae25f8511b3ef28fcd66818 (patch)
tree4a964c712869fdfd67c16c44f286a1579a93822a /XI2proto.h
parent751f2d6c0fa88a6bfc380b57d72ae41ec790249d (diff)
xXIHierarchyEvent should list num_info, not num_devices.
The structures following the request are referred to as "info", having a name of "num_devices" is misleading as the number of info structs does not always reflect the number of devices (e.g. if a device got removed). Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Diffstat (limited to 'XI2proto.h')
-rw-r--r--XI2proto.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/XI2proto.h b/XI2proto.h
index b4c8ace..e147e07 100644
--- a/XI2proto.h
+++ b/XI2proto.h
@@ -843,7 +843,7 @@ typedef struct
*/
/**
- * Device hierarch information.
+ * Device hierarchy information.
*/
typedef struct
{
@@ -875,7 +875,7 @@ typedef struct
::XISlaveAttached, ::XISlaveDetached,
::XISlaveAdded, ::XISlaveRemoved,
::XIDeviceEnabled, ::XIDeviceDisabled */
- uint16_t num_devices;
+ uint16_t num_info;
uint16_t pad0;
uint32_t pad1;
uint32_t pad2;