diff options
author | Peter Hutterer <peter@cs.unisa.edu.au> | 2007-10-19 15:26:09 +0930 |
---|---|---|
committer | Peter Hutterer <peter@cs.unisa.edu.au> | 2007-10-19 15:26:09 +0930 |
commit | d9caa469b9bb4eb6125b890820853062fc2c4441 (patch) | |
tree | a2fcc839c031d9217f38d1123389682334f76346 | |
parent | 155e2c559ed0dbf31b6d39d48648a3ee22b37635 (diff) |
Xi: allow VCP/VCK to be OpenDevice'd as well.
All devices deserve to be equal. Except master devices, they are a bit more
equal than the others.
-rw-r--r-- | Xi/opendev.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/Xi/opendev.c b/Xi/opendev.c index 0b0671d49..192cddc06 100644 --- a/Xi/opendev.c +++ b/Xi/opendev.c @@ -106,12 +106,6 @@ ProcXOpenDevice(ClientPtr client) REQUEST(xOpenDeviceReq); REQUEST_SIZE_MATCH(xOpenDeviceReq); - if (stuff->deviceid == inputInfo.pointer->id || - stuff->deviceid == inputInfo.keyboard->id) { - SendErrorToClient(client, IReqCode, X_OpenDevice, 0, BadDevice); - return Success; - } - if ((dev = LookupDeviceIntRec(stuff->deviceid)) == NULL) { /* not open */ for (dev = inputInfo.off_devices; dev; dev = dev->next) if (dev->id == stuff->deviceid) |