diff options
Diffstat (limited to 'Xi/xichangehierarchy.c')
-rw-r--r-- | Xi/xichangehierarchy.c | 35 |
1 files changed, 0 insertions, 35 deletions
diff --git a/Xi/xichangehierarchy.c b/Xi/xichangehierarchy.c index 944bb3017..ef6c39468 100644 --- a/Xi/xichangehierarchy.c +++ b/Xi/xichangehierarchy.c @@ -238,12 +238,6 @@ ProcXIChangeHierarchy(ClientPtr client) r->return_mode != XIFloating) return BadValue; - if (r->deviceid > 0xFF) /* FIXME */ - { - client->errorValue = r->deviceid; - return BadImplementation; - } - rc = dixLookupDevice(&ptr, r->deviceid, client, DixDestroyAccess); if (rc != Success) @@ -344,12 +338,6 @@ ProcXIChangeHierarchy(ClientPtr client) newptr, newkeybd; - if (r->return_pointer > 0xFF) /* FIXME */ - { - client->errorValue = r->deviceid; - return BadImplementation; - } - rc = dixLookupDevice(&newptr, r->return_pointer, client, DixWriteAccess); if (rc != Success) @@ -362,12 +350,6 @@ ProcXIChangeHierarchy(ClientPtr client) goto unwind; } - if (r->return_keyboard > 0xFF) /* FIXME */ - { - client->errorValue = r->deviceid; - return BadImplementation; - } - rc = dixLookupDevice(&newkeybd, r->return_keyboard, client, DixWriteAccess); if (rc != Success) @@ -431,12 +413,6 @@ ProcXIChangeHierarchy(ClientPtr client) xXIDetachSlaveInfo* c = (xXIDetachSlaveInfo*)any; DeviceIntPtr *xtstdevice; - if (c->deviceid > 0xFF) /* FIXME */ - { - client->errorValue = c->deviceid; - return BadImplementation; - } - rc = dixLookupDevice(&ptr, c->deviceid, client, DixWriteAccess); if (rc != Success) @@ -470,17 +446,6 @@ ProcXIChangeHierarchy(ClientPtr client) DeviceIntPtr newmaster; DeviceIntPtr *xtstdevice; - if (c->deviceid > 0xFF) /* FIXME */ - { - client->errorValue = c->deviceid; - return BadImplementation; - } - if (c->new_master > 0xFF) /* FIXME */ - { - client->errorValue = c->new_master; - return BadImplementation; - } - rc = dixLookupDevice(&ptr, c->deviceid, client, DixWriteAccess); if (rc != Success) |