diff options
author | Peter Hutterer <peter.hutterer@who-t.net> | 2009-06-17 08:37:44 +1000 |
---|---|---|
committer | Peter Hutterer <peter.hutterer@who-t.net> | 2009-06-18 14:40:54 +1000 |
commit | 17f9723f488d0470e3879c6b0dfdba61544cdd7b (patch) | |
tree | 53007679cb8989c8232189c83256c593111f4610 /Xi/xiquerydevice.c | |
parent | cbeb73e2055f6c013c8fe6325851f2631170137d (diff) |
input: bump to ints for deviceids - XI2 requires 16-bit deviceids.
Note: ABI break, but ABI_XINPUT_VERSION has NOT been bumped. Recompile input
drivers.
Revert "Xi: return BadImplementation for deviceids 256 and above"
This reverts commit 2b459f44f3edaea137df9a28bc7adfeb1b9f1df7.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Diffstat (limited to 'Xi/xiquerydevice.c')
-rw-r--r-- | Xi/xiquerydevice.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/Xi/xiquerydevice.c b/Xi/xiquerydevice.c index 2e480f5b8..cc5781509 100644 --- a/Xi/xiquerydevice.c +++ b/Xi/xiquerydevice.c @@ -70,12 +70,6 @@ ProcXIQueryDevice(ClientPtr client) REQUEST(xXIQueryDeviceReq); REQUEST_SIZE_MATCH(xXIQueryDeviceReq); - if (stuff->deviceid > 0xFF) /* FIXME */ - { - client->errorValue = stuff->deviceid; - return BadImplementation; - } - if (stuff->deviceid != XIAllDevices && stuff->deviceid != XIAllMasterDevices) { rc = dixLookupDevice(&dev, stuff->deviceid, client, DixGetAttrAccess); |