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:40:46 -0800
commit5e12622a252a4b14f1a706fd57580a897ab12e84 (patch)
tree34bd26b49d17065d3908ca854970db3cfbe9c037
parentd9dc49a401844fd00fb0c17151d28926fa18a241 (diff)
Switch X and Y axis labels to "Abs {X,Y}"multitouch-ubuntu
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;
}