mirror of
https://github.com/X11Libre/xserver.git
synced 2026-09-25 21:02:21 +00:00
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:
parent
cbeb73e205
commit
17f9723f48
14 changed files with 3 additions and 135 deletions
|
|
@ -85,12 +85,6 @@ ProcXISelectEvents(ClientPtr client)
|
|||
num_masks = stuff->num_masks;
|
||||
while(num_masks--)
|
||||
{
|
||||
if (evmask->deviceid > 0xFF) /* FIXME */
|
||||
{
|
||||
client->errorValue = evmask->deviceid;
|
||||
return BadImplementation;
|
||||
}
|
||||
|
||||
if (evmask->deviceid != XIAllDevices &&
|
||||
evmask->deviceid != XIAllMasterDevices)
|
||||
rc = dixLookupDevice(&dev, evmask->deviceid, client, DixReadAccess);
|
||||
|
|
|
|||
Loading…
Reference in a new issue