summaryrefslogtreecommitdiff
path: root/Xi
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2009-06-11 15:40:38 +1000
committerPeter Hutterer <peter.hutterer@who-t.net>2009-06-12 12:37:16 +1000
commitae7dab2a136d15b976b956f68feec53886951dd6 (patch)
tree104cf4a5035a16f4a1a222244299e75492b3bd98 /Xi
parent98e8ec8deb09db1c56e06afed267e6f517042fa3 (diff)
Xi: Fix XISetClientPointer swapping.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Diffstat (limited to 'Xi')
-rw-r--r--Xi/setcptr.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/Xi/setcptr.c b/Xi/setcptr.c
index ba7624691..9d1a54cd4 100644
--- a/Xi/setcptr.c
+++ b/Xi/setcptr.c
@@ -55,6 +55,8 @@ SProcXISetClientPointer(ClientPtr client)
REQUEST(xXISetClientPointerReq);
swaps(&stuff->length, n);
+ swapl(&stuff->win, n);
+ swaps(&stuff->deviceid, n);
REQUEST_SIZE_MATCH(xXISetClientPointerReq);
return (ProcXISetClientPointer(client));
}