From ae4588ff0c6e5cc7009e4ac78a3f953bc399bd84 Mon Sep 17 00:00:00 2001 From: Peter Hutterer Date: Fri, 21 Aug 2009 14:24:23 +1000 Subject: 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 --- XI2proto.h | 10 +++++----- 1 file 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. -- cgit v1.2.1