summaryrefslogtreecommitdiff
path: root/Xi/xigrabdev.c
diff options
context:
space:
mode:
Diffstat (limited to 'Xi/xigrabdev.c')
-rw-r--r--Xi/xigrabdev.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/Xi/xigrabdev.c b/Xi/xigrabdev.c
index a825a8906..95beb832b 100644
--- a/Xi/xigrabdev.c
+++ b/Xi/xigrabdev.c
@@ -70,9 +70,6 @@ ProcXIGrabDevice(ClientPtr client)
REQUEST(xXIGrabDeviceReq);
REQUEST_AT_LEAST_SIZE(xXIGrabDeviceReq);
- if (stuff->deviceid > 0xFF) /* FIXME */
- return BadImplementation;
-
ret = dixLookupDevice(&dev, stuff->deviceid, client, DixGrabAccess);
if (ret != Success)
return ret;
@@ -132,12 +129,6 @@ ProcXIUngrabDevice(ClientPtr client)
REQUEST(xXIUngrabDeviceReq);
- if (stuff->deviceid > 0xFF) /* FIXME */
- {
- client->errorValue = stuff->deviceid;
- return BadImplementation;
- }
-
ret = dixLookupDevice(&dev, stuff->deviceid, client, DixGetAttrAccess);
if (ret != Success)
return ret;