summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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.