diff options
author | Daniel Stone <daniel@fooishbar.org> | 2012-05-30 16:32:00 +0100 |
---|---|---|
committer | Kristian Høgsberg <krh@bitplanet.net> | 2012-05-31 15:45:25 -0400 |
commit | 2fce4028d6dd5c29649bd2ce25df4c3d4e400a92 (patch) | |
tree | 03983c2b2584cdb470520462f5a0900831dcf345 /src/compositor-wayland.c | |
parent | 0c1e46eb18ab48c48ce29464deb4ce5e23130c2b (diff) |
Convert wl_pointer::axis to wl_fixed_t
To go with the matching protocol change.
Signed-off-by: Daniel Stone <daniel@fooishbar.org>
Diffstat (limited to 'src/compositor-wayland.c')
-rw-r--r-- | src/compositor-wayland.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/compositor-wayland.c b/src/compositor-wayland.c index 0615f95..4f763ff 100644 --- a/src/compositor-wayland.c +++ b/src/compositor-wayland.c @@ -559,12 +559,12 @@ input_handle_button(void *data, struct wl_pointer *pointer, static void input_handle_axis(void *data, struct wl_pointer *pointer, - uint32_t time, uint32_t axis, int32_t value) + uint32_t time, uint32_t axis, wl_fixed_t value) { struct wayland_input *input = data; struct wayland_compositor *c = input->compositor; - notify_axis(&c->base.seat->seat, time, axis, wl_fixed_from_int(value)); + notify_axis(&c->base.seat->seat, time, axis, value); } static const struct wl_pointer_listener pointer_listener = { |