From 91f513f77d6c2083fff7e39ae56b3eb70929d28b Mon Sep 17 00:00:00 2001 From: Mike Blumenkrantz Date: Wed, 23 Aug 2017 14:24:11 -0400 Subject: [PATCH] ecore-wl2: normalize axis event values this is value * 10 from the compositor, so /= 10 to get real value fix T5427 @fix --- src/lib/ecore_wl2/ecore_wl2_input.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/lib/ecore_wl2/ecore_wl2_input.c b/src/lib/ecore_wl2/ecore_wl2_input.c index d20849e..6f751fb 100644 --- a/src/lib/ecore_wl2/ecore_wl2_input.c +++ b/src/lib/ecore_wl2/ecore_wl2_input.c @@ -233,6 +233,7 @@ _ecore_wl2_input_mouse_wheel_send(Ecore_Wl2_Input *input, unsigned int axis, int ev->modifiers = input->keyboard.modifiers; ev->x = input->pointer.sx; ev->y = input->pointer.sy; + value /= 10; if (axis == WL_POINTER_AXIS_VERTICAL_SCROLL) { -- 2.7.4