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 2b459f44f3.

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
Peter Hutterer
2009-06-17 08:37:44 +10:00
parent cbeb73e205
commit 17f9723f48
14 changed files with 3 additions and 135 deletions

View File

@@ -81,12 +81,6 @@ ProcXIQueryPointer(ClientPtr client)
REQUEST(xXIQueryPointerReq);
REQUEST_SIZE_MATCH(xXIQueryPointerReq);
if (stuff->deviceid > 0xFF) /* FIXME */
{
client->errorValue = stuff->deviceid;
return BadImplementation;
}
rc = dixLookupDevice(&pDev, stuff->deviceid, client, DixReadAccess);
if (rc != Success)
return rc;