mirror of
https://gitlab.freedesktop.org/libinput/libinput.git
synced 2026-05-09 08:18:02 +02:00
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:
parent
2fcf482d06
commit
8dea77ff49
1 changed files with 1 additions and 1 deletions
|
|
@ -421,7 +421,7 @@ print_tablet_axes(struct libinput_event_tablet_tool *t)
|
||||||
(libinput_event_tablet_tool_##ax##_has_changed(ev) ? "*" : "")
|
(libinput_event_tablet_tool_##ax##_has_changed(ev) ? "*" : "")
|
||||||
|
|
||||||
x = libinput_event_tablet_tool_get_x(t);
|
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",
|
printf("\t%.2f%s/%.2f%s",
|
||||||
x, changed_sym(t, x),
|
x, changed_sym(t, x),
|
||||||
y, changed_sym(t, y));
|
y, changed_sym(t, y));
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue