summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2009-07-29 12:07:22 +1000
committerPeter Hutterer <peter.hutterer@who-t.net>2009-07-30 08:43:14 +1000
commitfac49df08f173f091cbb77feaf373d7d465358af (patch)
tree0e3f37078c035a0a807ddc89dd4fb3f2f2f703de
parent845e65f08059e8f4bfd37356e99b48bba9416c0c (diff)
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>
-rw-r--r--Xi/grabdev.c2
1 files changed, 1 insertions, 1 deletions
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);