diff options
author | Peter Hutterer <peter.hutterer@who-t.net> | 2009-05-12 16:14:23 +1000 |
---|---|---|
committer | Peter Hutterer <peter.hutterer@who-t.net> | 2009-05-12 16:14:23 +1000 |
commit | 23246e5788a01091ed666539359614cd5c100a9b (patch) | |
tree | 0baca435d744aaa48ebcf0af20ac3d6996201e3a | |
parent | 9451d09d2b9cdbe2deff7986a4c5553ba922989c (diff) |
Support per-device flags for XIDeviceHierarchyEvents
-rw-r--r-- | include/X11/extensions/XInput2.h | 1 | ||||
-rw-r--r-- | src/XExtInt.c | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/include/X11/extensions/XInput2.h b/include/X11/extensions/XInput2.h index a0761b1..2fe5746 100644 --- a/include/X11/extensions/XInput2.h +++ b/include/X11/extensions/XInput2.h @@ -137,6 +137,7 @@ typedef struct { int attachment; int use; Bool enabled; + int flags; } XIHierarchyInfo; /* diff --git a/src/XExtInt.c b/src/XExtInt.c index 1d12061..beb8127 100644 --- a/src/XExtInt.c +++ b/src/XExtInt.c @@ -994,6 +994,7 @@ wireToHierarchyChangedEvent(xXIDeviceHierarchyEvent *in, XIDeviceHierarchyEvent* info_out->attachment = info_in->attachment; info_out->use = info_in->use; info_out->enabled = info_in->enabled; + info_out->flags = info_in->flags; } return 1; |