tools: fix printing of tablet coordinates

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
(cherry picked from commit 07ce6c8954)
This commit is contained in:
Peter Hutterer 2017-02-28 16:44:17 +10:00
parent 2fcf482d06
commit 8dea77ff49

View file

@ -421,7 +421,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);
printf("\t%.2f%s/%.2f%s",
x, changed_sym(t, x),
y, changed_sym(t, y));