From 42523d27f050177c9a88f6743091d5719db76e81 Mon Sep 17 00:00:00 2001 From: Mike Blumenkrantz Date: Fri, 30 Jun 2017 10:25:23 -0400 Subject: [PATCH] multiply pointer axis values by 10 for wl clients wayland clients expect this multiplier, so now scrolling speed should be back to normal --- src/bin/e_comp_wl.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/bin/e_comp_wl.c b/src/bin/e_comp_wl.c index b5d4948e0..d6fcec396 100644 --- a/src/bin/e_comp_wl.c +++ b/src/bin/e_comp_wl.c @@ -441,9 +441,9 @@ _e_comp_wl_evas_cb_mouse_wheel(void *data, Evas *evas EINA_UNUSED, Evas_Object * 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 (!ec->comp_data->surface) return;