[PATCH xinput] Remove superfluous comment.

Peter Hutterer peter.hutterer at who-t.net
Wed Jun 1 18:47:05 PDT 2011


We can't remove this part if we want to keep working against 1.7 and 1.8.1.
No big deal, if this operation in xinput is the performance-critical path of
a system, things have gone bad a long time ago.

Signed-off-by: Peter Hutterer <peter.hutterer at who-t.net>
---
 src/list.c |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/src/list.c b/src/list.c
index b3bf873..b4649eb 100644
--- a/src/list.c
+++ b/src/list.c
@@ -181,8 +181,7 @@ print_classes_xi2(Display* display, XIAnyClassInfo **classes,
                     XIValuatorClassInfo *v = (XIValuatorClassInfo*)classes[i];
                     char *name = v->label ?  XGetAtomName(display, v->label) : NULL;
 
-                    /* XXX: Bug in X servers 1.7..1.8.1, mode was |
-                       OutOfProximity. Remove this once 1.9 is out. */
+                    /* Bug in X servers 1.7..1.8.1, mode was | OutOfProximity */
                     v->mode &= DeviceMode;
 
                     printf("\t\tDetail for Valuator %d:\n", v->number);
-- 
1.7.5.1



More information about the xorg-devel mailing list