summaryrefslogtreecommitdiff
path: root/Xi
diff options
context:
space:
mode:
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));
}