Cleanup previous PR and add changelog entry for it

Fixes #4694
This commit is contained in:
Kovid Goyal 2022-02-13 10:49:24 +05:30
parent 108974f4f7
commit ee5cf90684
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C
2 changed files with 4 additions and 2 deletions

View File

@ -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`) - 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] 0.24.2 [2022-02-03]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

4
glfw/wl_init.c vendored
View File

@ -377,8 +377,8 @@ static void pointerHandleAxisStop(void *data UNUSED,
static void pointerHandleAxisDiscrete(void *data UNUSED, static void pointerHandleAxisDiscrete(void *data UNUSED,
struct wl_pointer *wl_pointer UNUSED, struct wl_pointer *wl_pointer UNUSED,
uint32_t axis UNUSED, uint32_t axis,
int32_t discrete UNUSED) int32_t discrete)
{ {
_GLFWwindow* window = _glfw.wl.pointerFocus; _GLFWwindow* window = _glfw.wl.pointerFocus;
double x = 0.0, y = 0.0; double x = 0.0, y = 0.0;