summaryrefslogtreecommitdiff
path: root/Xi/xigrabdev.c
diff options
context:
space:
mode:
Diffstat (limited to 'Xi/xigrabdev.c')
-rw-r--r--Xi/xigrabdev.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Xi/xigrabdev.c b/Xi/xigrabdev.c
index 24ededcb1..0adc8787d 100644
--- a/Xi/xigrabdev.c
+++ b/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;