summaryrefslogtreecommitdiff
path: root/Xi/extgrbdev.c
diff options
context:
space:
mode:
Diffstat (limited to 'Xi/extgrbdev.c')
-rw-r--r--Xi/extgrbdev.c15
1 files changed, 5 insertions, 10 deletions
diff --git a/Xi/extgrbdev.c b/Xi/extgrbdev.c
index 1a2584fb6..c982fca2c 100644
--- a/Xi/extgrbdev.c
+++ b/Xi/extgrbdev.c
@@ -184,16 +184,11 @@ ProcXExtendedGrabDevice(ClientPtr client)
gemasks->eventMask[xgeMask->extension & 0x7F]= xgeMask->evmask;
}
- ExtGrabDevice(client, dev, stuff->device_mode,
- grab_window, confineTo, time, stuff->owner_events,
- cursor, tmp[stuff->deviceid].mask,
- gemasks);
-
- if (rc != Success) {
- errval = 0;
- goto cleanup;
- }
-
+ rep.status = ExtGrabDevice(client, dev, stuff->device_mode,
+ grab_window, confineTo, time,
+ stuff->owner_events, cursor,
+ tmp[stuff->deviceid].mask,
+ gemasks);
cleanup:
if (gemasks)