diff options
author | Chase Douglas <chase.douglas@canonical.com> | 2011-09-13 15:47:15 -0500 |
---|---|---|
committer | Chase Douglas <chase.douglas@canonical.com> | 2011-09-13 15:47:15 -0500 |
commit | 3c400af4f98740debd7916ad711cf91124a0f994 (patch) | |
tree | 77f3141c6cc821b2d0883175a2d554a8347aebb1 /XI2proto.h | |
parent | dd9e4bc5f5f2e0eb87b08199ce417849070249ab (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.h | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -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; |