diff --git a/docs/changelog.rst b/docs/changelog.rst index 1ee52b87b..0bdff64d5 100644 --- a/docs/changelog.rst +++ b/docs/changelog.rst @@ -131,6 +131,8 @@ Detailed list of changes - Fix a fast *click, move mouse, click* sequence causing the first click event to be discarded (:iss:`4603`) +- Wayland: Fix wheel mice with line based scrolling being incorrectly handled as high precision devices (:iss:`4694`) + 0.24.2 [2022-02-03] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ diff --git a/glfw/wl_init.c b/glfw/wl_init.c index 22a3f1385..8d3295e78 100644 --- a/glfw/wl_init.c +++ b/glfw/wl_init.c @@ -377,8 +377,8 @@ static void pointerHandleAxisStop(void *data UNUSED, static void pointerHandleAxisDiscrete(void *data UNUSED, struct wl_pointer *wl_pointer UNUSED, - uint32_t axis UNUSED, - int32_t discrete UNUSED) + uint32_t axis, + int32_t discrete) { _GLFWwindow* window = _glfw.wl.pointerFocus; double x = 0.0, y = 0.0;