From b8a48ae83bb672e16622127c7f74f4c132f70f04 Mon Sep 17 00:00:00 2001 From: akallabeth Date: Thu, 13 Jan 2022 16:29:07 +0100 Subject: [PATCH] Fixed #7549: Fix broken wayland event type check --- client/Wayland/wlf_input.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/Wayland/wlf_input.c b/client/Wayland/wlf_input.c index c53ff2fef..79f36366d 100644 --- a/client/Wayland/wlf_input.c +++ b/client/Wayland/wlf_input.c @@ -273,7 +273,7 @@ BOOL wlf_handle_pointer_frame(freerdp* instance, const UwacPointerFrameEvent* ev #if defined(WL_POINTER_AXIS_SOURCE_WHEEL_TILT_SINCE_VERSION) case WL_POINTER_AXIS_SOURCE_WHEEL_TILT: #endif - if (ev->type == UWAC_EVENT_POINTER_AXIS_DISCRETE) + if (cev->type == UWAC_EVENT_POINTER_AXIS_DISCRETE) { /* Get the number of steps, multiply by default step width of 120 */ int32_t val = cev->mouse_axis.value * 0x78;