Fix pointer axis delta in Wayland backend

This commit is contained in:
emersion 2017-11-05 13:00:27 +01:00
parent 80caaf8fcc
commit 1cee782fec
No known key found for this signature in database
GPG key ID: 0FDE7BE0E88F5E48

View file

@ -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;