aboutsummaryrefslogtreecommitdiff
path: root/backend
diff options
context:
space:
mode:
authorTony Crisci <tony@dubstepdish.com>2017-11-05 08:09:45 -0500
committerTony Crisci <tony@dubstepdish.com>2017-11-05 08:09:45 -0500
commitb74c4cf974933f2e1dedf8f872bd43b5b25277a4 (patch)
tree79b300e5d1d268004cdf2272e6b2f6987b990232 /backend
parent704f0f158a669689b78311cde35a736057f983b4 (diff)
parent74a45ee776ec05b5dbe7bae5be456ba08a850d7b (diff)
Merge branch 'master' into feature/multiseat
Diffstat (limited to 'backend')
-rw-r--r--backend/wayland/wl_seat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/backend/wayland/wl_seat.c b/backend/wayland/wl_seat.c
index 146296ae..74eaf9bd 100644
--- a/backend/wayland/wl_seat.c
+++ b/backend/wayland/wl_seat.c
@@ -90,7 +90,7 @@ static void pointer_handle_axis(void *data, struct wl_pointer *wl_pointer,
struct wlr_event_pointer_axis wlr_event;
wlr_event.device = dev;
- wlr_event.delta = value;
+ wlr_event.delta = wl_fixed_to_double(value);
wlr_event.orientation = axis;
wlr_event.time_msec = time;
wlr_event.source = wlr_wl_pointer->axis_source;