summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2009-06-08 14:21:58 +1000
committerPeter Hutterer <peter.hutterer@who-t.net>2009-06-09 10:56:35 +1000
commit467bfbc6598c8c30ab9b703160cc42ae82e75f1c (patch)
tree35d465718b6b05a1c38f1c4fb507c0f826aa2dee /include
parent0254852c8fb0793401368c7afc6041f807ee1d87 (diff)
XIHierarchyEvent should list num_info, not num_devices.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Diffstat (limited to 'include')
-rw-r--r--include/X11/extensions/XInput2.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/X11/extensions/XInput2.h b/include/X11/extensions/XInput2.h
index 686783a..da80fa3 100644
--- a/include/X11/extensions/XInput2.h
+++ b/include/X11/extensions/XInput2.h
@@ -159,7 +159,7 @@ typedef struct {
int evtype; /* XI_DeviceHierarchyChangedNotify */
Time time;
int flags;
- int num_devices;
+ int num_info;
XIHierarchyInfo *info;
} XIHierarchyEvent;