projects
/
platform
/
upstream
/
weston.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c1b244f
)
weston-test-client-helper: Use wl_fixed_to_double() when printing axis value
author
Kristian Høgsberg
<krh@bitplanet.net>
Wed, 9 Oct 2013 21:23:00 +0000
(14:23 -0700)
committer
Kristian Høgsberg
<krh@bitplanet.net>
Thu, 10 Oct 2013 23:50:18 +0000
(16:50 -0700)
tests/weston-test-client-helper.c
patch
|
blob
|
history
diff --git
a/tests/weston-test-client-helper.c
b/tests/weston-test-client-helper.c
index
79dd5da
..
b19be40
100644
(file)
--- 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 = {