aboutsummaryrefslogtreecommitdiff
path: root/xorg-server/Xi/xisetclientpointer.c
diff options
context:
space:
mode:
Diffstat (limited to 'xorg-server/Xi/xisetclientpointer.c')
-rw-r--r--xorg-server/Xi/xisetclientpointer.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/xorg-server/Xi/xisetclientpointer.c b/xorg-server/Xi/xisetclientpointer.c
index 38ff51e86..24d4a5379 100644
--- a/xorg-server/Xi/xisetclientpointer.c
+++ b/xorg-server/Xi/xisetclientpointer.c
@@ -51,10 +51,11 @@ int
SProcXISetClientPointer(ClientPtr client)
{
REQUEST(xXISetClientPointerReq);
+ REQUEST_SIZE_MATCH(xXISetClientPointerReq);
+
swaps(&stuff->length);
swapl(&stuff->win);
swaps(&stuff->deviceid);
- REQUEST_SIZE_MATCH(xXISetClientPointerReq);
return (ProcXISetClientPointer(client));
}