Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Hopefully fixed Wayland build
- Loading branch information
Showing
with
2 additions
and
2 deletions.
-
+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: |
|
|