diff options
author | Peter Hutterer <peter.hutterer@who-t.net> | 2009-03-08 21:16:33 +1000 |
---|---|---|
committer | Peter Hutterer <peter.hutterer@who-t.net> | 2009-03-11 14:49:07 +1000 |
commit | 30c2e3f9398f3d9cbae70150e4bb5cec6dfcc0a1 (patch) | |
tree | 2f8a1235e50e4cb3123517d4b60b505eacaedcf8 /include | |
parent | 0cac1faccebdd317e889d2ae1a1570dc9430725f (diff) |
Add support for XIDeviceChangedEvent
Diffstat (limited to 'include')
-rw-r--r-- | include/X11/extensions/XInput2.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/include/X11/extensions/XInput2.h b/include/X11/extensions/XInput2.h index 60138b1..4ef622c 100644 --- a/include/X11/extensions/XInput2.h +++ b/include/X11/extensions/XInput2.h @@ -157,12 +157,12 @@ typedef struct { int extension; /* XI extension offset */ int evtype; /* XI_DeviceHierarchyChangedNotify */ Time time; - XID deviceid; /* id of the device that changed */ - XID slaveid; /* id of the slave device that caused the - change */ + int deviceid; /* id of the device that changed */ + int sourceid; /* Source for the new classes. */ + int reason; /* Reason for the change */ int num_classes; - XIAnyClassInfo *inputclassinfo; /* same as in XDeviceInfo */ -} XDeviceClassesChangedEvent; + XIAnyClassInfo **classes; /* same as in XIDeviceInfo */ +} XIDeviceChangedEvent; typedef struct { |