summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2017-02-28 16:44:17 +1000
committerPeter Hutterer <peter.hutterer@who-t.net>2017-03-01 09:34:46 +1000
commit07ce6c895478d0da5d2d5be6712556f46f463108 (patch)
treef907e99445bf0cc7c9488c66580beb0a61770b5a /tools
parentd6379bc3f3ee57a02b23f99b82a50aaa4cfe7b04 (diff)
tools: fix printing of tablet coordinates
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Diffstat (limited to 'tools')
-rw-r--r--tools/event-debug.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/event-debug.c b/tools/event-debug.c
index b7e76e4..81d7ea4 100644
--- a/tools/event-debug.c
+++ b/tools/event-debug.c
@@ -441,7 +441,7 @@ print_tablet_axes(struct libinput_event_tablet_tool *t)
(libinput_event_tablet_tool_##ax##_has_changed(ev) ? "*" : "")
x = libinput_event_tablet_tool_get_x(t);
- y = libinput_event_tablet_tool_get_x(t);
+ y = libinput_event_tablet_tool_get_y(t);
printq("\t%.2f%s/%.2f%s",
x, changed_sym(t, x),
y, changed_sym(t, y));