summaryrefslogtreecommitdiff
path: root/tests/weston-test-client-helper.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/weston-test-client-helper.c')
-rw-r--r--tests/weston-test-client-helper.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/weston-test-client-helper.c b/tests/weston-test-client-helper.c
index 79dd5dad..b19be400 100644
--- a/tests/weston-test-client-helper.c
+++ b/tests/weston-test-client-helper.c
@@ -169,7 +169,8 @@ static void
pointer_handle_axis(void *data, struct wl_pointer *wl_pointer,
uint32_t time, uint32_t axis, wl_fixed_t value)
{
- fprintf(stderr, "test-client: got pointer axis %u %d\n", axis, value);
+ fprintf(stderr, "test-client: got pointer axis %u %f\n",
+ axis, wl_fixed_to_double(value));
}
static const struct wl_pointer_listener pointer_listener = {