diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/list.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -163,6 +163,10 @@ 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. */ + v->mode &= DeviceMode; + printf("\t\tDetail for Valuator %d:\n", v->number); printf("\t\t Label: %s\n", (name) ? name : "None"); printf("\t\t Range: %f - %f\n", v->min, v->max); |