From abc88c498e47380aec01369b3ce3526ae32c6cdf Mon Sep 17 00:00:00 2001 From: Mike Blumenkrantz Date: Fri, 12 Jan 2018 16:02:40 -0500 Subject: [PATCH] efl-wl: multiply axis events by 10 to send normalized values ref T6443 --- src/lib/efl_wl/efl_wl.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lib/efl_wl/efl_wl.c b/src/lib/efl_wl/efl_wl.c index 563b2ba285..28a0814710 100644 --- a/src/lib/efl_wl/efl_wl.c +++ b/src/lib/efl_wl/efl_wl.c @@ -2178,9 +2178,9 @@ comp_surface_mouse_wheel(void *data, Evas *evas EINA_UNUSED, Evas_Object *obj EI axis = WL_POINTER_AXIS_HORIZONTAL_SCROLL; if (ev->z < 0) - dir = -wl_fixed_from_int(abs(ev->z)); + dir = -wl_fixed_from_int(abs(10 * ev->z)); else - dir = wl_fixed_from_int(ev->z); + dir = wl_fixed_from_int(10 * ev->z); if (cs->dead) return; s = seat_find(data, ev->dev);