Skip to content
Permalink
Browse files

Hopefully fixed Wayland build

  • Loading branch information
slouken committed Aug 15, 2017
1 parent a4cfa93 commit 1d0584d558d76e7f1104312e04dab2603dee23ae
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/video/wayland/SDL_waylandevents.c
@@ -237,10 +237,10 @@ pointer_handle_axis_common(struct SDL_WaylandInput *input,
switch (a) {
case WL_POINTER_AXIS_VERTICAL_SCROLL:
x = 0;
y = wl_fixed_to_float(value);
y = (float)wl_fixed_to_double(value);
break;
case WL_POINTER_AXIS_HORIZONTAL_SCROLL:
x = wl_fixed_to_float(value);
x = (float)wl_fixed_to_double(value);
y = 0;
break;
default:

0 comments on commit 1d0584d

Please sign in to comment.