summaryrefslogtreecommitdiff
path: root/XI2proto.h
diff options
context:
space:
mode:
authorChase Douglas <chase.douglas@canonical.com>2011-09-13 15:47:15 -0500
committerChase Douglas <chase.douglas@canonical.com>2011-09-13 15:47:15 -0500
commit3c400af4f98740debd7916ad711cf91124a0f994 (patch)
tree77f3141c6cc821b2d0883175a2d554a8347aebb1 /XI2proto.h
parentdd9e4bc5f5f2e0eb87b08199ce417849070249ab (diff)
Add event windows to ownership events
Also, match device event structure to make things easy. Signed-off-by: Chase Douglas <chase.douglas@canonical.com>
Diffstat (limited to 'XI2proto.h')
-rw-r--r--XI2proto.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/XI2proto.h b/XI2proto.h
index 023acc8..8117767 100644
--- a/XI2proto.h
+++ b/XI2proto.h
@@ -909,9 +909,13 @@ typedef struct
uint16_t evtype; /**< XI_TouchOwnership */
uint16_t deviceid; /**< Device that has changed */
Time time;
+ uint32_t touchid;
+ Window root;
+ Window event;
+ Window child;
+/* └──────── 32 byte boundary ────────┘ */
uint16_t sourceid; /**< Source of the new classes */
uint16_t pad0;
- uint32_t touchid;
uint32_t flags;
uint32_t pad1;
uint32_t pad2;