summaryrefslogtreecommitdiff
path: root/XI2proto.txt
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2009-05-14 12:09:38 +1000
committerPeter Hutterer <peter.hutterer@who-t.net>2009-05-14 12:13:45 +1000
commit4cc6992b08b6c7aed0d1242e3382fb53d51a0fe2 (patch)
tree05d3c8f189e3b3c7f05840510c90c61930007d9e /XI2proto.txt
parentd041f30777c09f07ac79fface61bfbfa654306f2 (diff)
XIQueryPointer needs to include sensible button/modifier state.
This includes shuffling the xXIModifierInfo and xXIGroupInfo structs to the common structs section.
Diffstat (limited to 'XI2proto.txt')
-rw-r--r--XI2proto.txt12
1 files changed, 12 insertions, 0 deletions
diff --git a/XI2proto.txt b/XI2proto.txt
index 3287c48..3122387 100644
--- a/XI2proto.txt
+++ b/XI2proto.txt
@@ -379,6 +379,10 @@ XI2. Clients should ignore this data.
win_x: FP1616
win_y: FP1616
same_screen: BOOL
+ mods: MODIFIERINFO
+ group: GROUPINFO
+ buttons_len: CARD16
+ buttons: SETofBUTTONMASK
└───
Query a master pointer device for its current position.
@@ -395,6 +399,14 @@ XI2. Clients should ignore this data.
Pointer position relative to 'window' or 0 if 'same_screen' is false.
same_screen
TRUE if 'window' is on the same screen as the pointer.
+ mods
+ XKB modifier state on the paired device.
+ group
+ XKB group state on the paired device.
+ buttons_len
+ The length of 'buttons' in 4 byte units.
+ buttons
+ Button state.
┌───
XIWarpPointer