Skip to content
This repository has been archived by the owner on Nov 1, 2021. It is now read-only.

Commit

Permalink
Merge pull request #388 from emersion/fix-wayland-pointer-axis
Browse files Browse the repository at this point in the history
Fix pointer axis delta in Wayland backend
  • Loading branch information
ddevault committed Nov 5, 2017
2 parents 80caaf8 + 1cee782 commit 74a45ee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/wayland/wl_seat.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 74a45ee

Please sign in to comment.