summaryrefslogtreecommitdiff
path: root/xserver/Xi/xigrabdev.c
diff options
context:
space:
mode:
Diffstat (limited to 'xserver/Xi/xigrabdev.c')
-rw-r--r--xserver/Xi/xigrabdev.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xserver/Xi/xigrabdev.c b/xserver/Xi/xigrabdev.c
index 24ededcb1..0adc8787d 100644
--- a/xserver/Xi/xigrabdev.c
+++ b/xserver/Xi/xigrabdev.c
@@ -79,7 +79,7 @@ ProcXIGrabDevice(ClientPtr client)
if (!IsMaster(dev))
stuff->paired_device_mode = GrabModeAsync;
- if (XICheckInvalidMaskBits((unsigned char*)&stuff[1],
+ if (XICheckInvalidMaskBits(client, (unsigned char*)&stuff[1],
stuff->mask_len * 4) != Success)
return BadValue;