Xi: remove obsolete comment.
XI1 only uses 7 bits for deviceids, bit 8 is used for the MORE_EVENTS flag on the wire (when DeviceValuator events are required). Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
parent
845e65f080
commit
fac49df08f
|
@ -181,7 +181,7 @@ CreateMaskFromList(ClientPtr client, XEventClass * list, int count,
|
|||
|
||||
for (i = 0; i < count; i++, list++) {
|
||||
device = *list >> 8;
|
||||
if (device > 255) /* FIXME: we only use 7 bit for devices? */
|
||||
if (device > 255)
|
||||
return BadClass;
|
||||
|
||||
rc = dixLookupDevice(&tdev, device, client, DixUseAccess);
|
||||
|
|
Loading…
Reference in New Issue
Block a user