summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChase Douglas <chase.douglas@canonical.com>2012-01-19 12:32:58 -0800
committerChase Douglas <chase.douglas@canonical.com>2012-01-19 17:42:13 -0800
commitf03a495532775fafcf48ef8a14c0b2a253da7d49 (patch)
treee67aaef5bbefbf80c4a91bf34a09d175c9e6b720
parent0041bb8e28dc83a123de5dfc90a6c083f8052dd1 (diff)
Switch X and Y axis labels to "Abs {X,Y}"multitouch
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 <chase.douglas@canonical.com>
-rw-r--r--src/synaptics.c4
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;
}