summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2010-11-25 12:52:15 +1000
committerPeter Hutterer <peter.hutterer@who-t.net>2010-11-30 07:50:57 +1000
commit86084d219f856e420cd1984ebe0320739248eeb4 (patch)
tree219c95fd2c16c1577f2260cd57c6bc595ccd1f13
parent17f94b5f0f69988058c606ab92d12d394ac6fa5f (diff)
Label the axes as absolute, not relative.
Not that it matters for this driver, but the axes are set up as absolute, so label them accordingly. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> Reviewed-by: Matt Turner <mattst88@gmail.com> Reviewed-by: Adam Jackson <ajax@redhat.com>
-rw-r--r--src/void.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/void.c b/src/void.c
index d94ce15..c0feca8 100644
--- a/src/void.c
+++ b/src/void.c
@@ -97,8 +97,8 @@ xf86VoidControlProc(DeviceIntPtr device, int what)
Atom btn_labels[MAXBUTTONS] = {0};
Atom axes_labels[2] = {0};
- axes_labels[0] = XIGetKnownProperty(AXIS_LABEL_PROP_REL_X);
- axes_labels[1] = XIGetKnownProperty(AXIS_LABEL_PROP_REL_Y);
+ axes_labels[0] = XIGetKnownProperty(AXIS_LABEL_PROP_ABS_X);
+ axes_labels[1] = XIGetKnownProperty(AXIS_LABEL_PROP_ABS_Y);
btn_labels[0] = XIGetKnownProperty(BTN_LABEL_PROP_BTN_LEFT);
btn_labels[1] = XIGetKnownProperty(BTN_LABEL_PROP_BTN_MIDDLE);