summaryrefslogtreecommitdiff
path: root/Xi
diff options
context:
space:
mode:
authorPeter Hutterer <peter@cs.unisa.edu.au>2008-06-18 09:55:53 +0930
committerPeter Hutterer <peter@cs.unisa.edu.au>2008-06-18 10:07:37 +0930
commit2b9c829bdebd16910bdf48b9d64862e3d34f5b7f (patch)
treeed7b6c21a5514e088d12c55e7969b2d169df8dcd /Xi
parent4f3ed54dc9ea7780ff03378b13de0fddfdec2e15 (diff)
Xi: don't drop the grab status in XExtendedGrabDevice().
Diffstat (limited to 'Xi')
-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)