summaryrefslogtreecommitdiff
path: root/Xi/grabdev.c
diff options
context:
space:
mode:
Diffstat (limited to 'Xi/grabdev.c')
-rw-r--r--Xi/grabdev.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/Xi/grabdev.c b/Xi/grabdev.c
index f032b4a42..65997acaf 100644
--- a/Xi/grabdev.c
+++ b/Xi/grabdev.c
@@ -126,10 +126,11 @@ ProcXGrabDevice(ClientPtr client)
X_GrabDevice)) != Success)
return rc;
- rc = GrabDevice(client, dev, stuff->this_device_mode,
- stuff->other_devices_mode, stuff->grabWindow,
+ rc = GrabDevice(client, dev, stuff->other_devices_mode,
+ stuff->this_device_mode, stuff->grabWindow,
stuff->ownerEvents, stuff->time,
- tmp[stuff->deviceid].mask, &rep.status, FALSE);
+ tmp[stuff->deviceid].mask, FALSE, None, None,
+ &rep.status);
if (rc != Success)
return rc;