Non-raw X core and XI events are provided in absolute coordinates. If
you really care, you can look at the XI axis class for each axis to see
if it's relative or absolute.

Switching this label to absolute makes more sense when touch data is
sent through it as well.

Signed-off-by: Chase Douglas <[email protected]>
---
 src/synaptics.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/synaptics.c b/src/synaptics.c
index 1d963cb..34915a2 100644
--- a/src/synaptics.c
+++ b/src/synaptics.c
@@ -955,9 +955,9 @@ static void InitAxesLabels(Atom *labels, int nlabels,
             labels[2] = XIGetKnownProperty(AXIS_LABEL_PROP_REL_HSCROLL);
 #endif
         case 2:
-            labels[1] = XIGetKnownProperty(AXIS_LABEL_PROP_REL_Y);
+            labels[1] = XIGetKnownProperty(AXIS_LABEL_PROP_ABS_Y);
         case 1:
-            labels[0] = XIGetKnownProperty(AXIS_LABEL_PROP_REL_X);
+            labels[0] = XIGetKnownProperty(AXIS_LABEL_PROP_ABS_X);
             break;
     }
 
-- 
1.7.8.3

_______________________________________________
[email protected]: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: http://lists.x.org/mailman/listinfo/xorg-devel

Reply via email to