summaryrefslogtreecommitdiff
path: root/Xi/xichangecursor.c
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2009-08-21 12:15:54 +1000
committerPeter Hutterer <peter.hutterer@who-t.net>2009-08-25 10:23:58 +1000
commit5e96945cf54136afdb80cc17f67611251d59205d (patch)
tree09c7d6719700470bb7eab0332360c0409b0c0d14 /Xi/xichangecursor.c
parent990d204ef8074665763ad129d0b015b7ab3ae9ef (diff)
Xi: fix swapping for XIWarpPointer and XIChangeCursor requests.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Diffstat (limited to 'Xi/xichangecursor.c')
-rw-r--r--Xi/xichangecursor.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/Xi/xichangecursor.c b/Xi/xichangecursor.c
index ea5bdeb93..f071e8406 100644
--- a/Xi/xichangecursor.c
+++ b/Xi/xichangecursor.c
@@ -60,6 +60,9 @@ SProcXIChangeCursor(ClientPtr client)
REQUEST(xXIChangeCursorReq);
swaps(&stuff->length, n);
+ swapl(&stuff->win, n);
+ swapl(&stuff->cursor, n);
+ swaps(&stuff->deviceid, n);
REQUEST_SIZE_MATCH(xXIChangeCursorReq);
return (ProcXIChangeCursor(client));
}