From fac49df08f173f091cbb77feaf373d7d465358af Mon Sep 17 00:00:00 2001 From: Peter Hutterer Date: Wed, 29 Jul 2009 12:07:22 +1000 Subject: [PATCH] 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 --- Xi/grabdev.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Xi/grabdev.c b/Xi/grabdev.c index a7e46fe34..925c9a6d2 100644 --- a/Xi/grabdev.c +++ b/Xi/grabdev.c @@ -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);