summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2009-08-21 14:24:23 +1000
committerPeter Hutterer <peter.hutterer@who-t.net>2009-08-21 14:24:35 +1000
commitae4588ff0c6e5cc7009e4ac78a3f953bc399bd84 (patch)
tree020f5911ccd73a4d5cd5a10d15dc235eb1a3963c
parent8eccc169c045fcf68b5a0974c49a8e6863894cf3 (diff)
XIWarpPointer needs to take FP1616 for positions.
This was already in the spec but the protocol itself hadn't cought up with it. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-rw-r--r--XI2proto.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/XI2proto.h b/XI2proto.h
index 78770c5..2fd91eb 100644
--- a/XI2proto.h
+++ b/XI2proto.h
@@ -372,16 +372,16 @@ typedef struct {
uint16_t length; /**< Length in 4 byte units */
Window src_win;
Window dst_win;
- int16_t src_x;
- int16_t src_y;
+ FP1616 src_x;
+ FP1616 src_y;
uint16_t src_width;
uint16_t src_height;
- int16_t dst_x;
- int16_t dst_y;
+ FP1616 dst_x;
+ FP1616 dst_y;
uint16_t deviceid;
uint16_t pad1;
} xXIWarpPointerReq;
-#define sz_xXIWarpPointerReq 28
+#define sz_xXIWarpPointerReq 36
/**
* Change the given device's sprite to the given cursor.