summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2009-06-16 13:24:34 +1000
committerPeter Hutterer <peter.hutterer@who-t.net>2009-06-16 14:22:18 +1000
commitbd2a3ad028a87f76ad244efe3650d7efd3a700dd (patch)
treebb0c3cd66adfae315bc7e967623fdef2b0b4c315 /src
parent1ca170b8d19b1170356a1edf4717cd4a95671a13 (diff)
Include the current valuator state in XIQueryDevice.
Diffstat (limited to 'src')
-rw-r--r--src/XIQueryDevice.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/XIQueryDevice.c b/src/XIQueryDevice.c
index d8df2d1..9961655 100644
--- a/src/XIQueryDevice.c
+++ b/src/XIQueryDevice.c
@@ -145,6 +145,7 @@ copy_classes(XIDeviceInfo* to, xXIAnyInfo* from, int nclasses)
cls_lib->resolution = cls_wire->resolution;
cls_lib->min = cls_wire->min.integral;
cls_lib->max = cls_wire->max.integral;
+ cls_lib->value = cls_wire->value.integral;
/* FIXME: fractional parts */
cls_lib->mode = cls_wire->mode;