discomfitor pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=abc88c498e47380aec01369b3ce3526ae32c6cdf

commit abc88c498e47380aec01369b3ce3526ae32c6cdf
Author: Mike Blumenkrantz <[email protected]>
Date:   Fri Jan 12 16:02:40 2018 -0500

    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);

-- 


Reply via email to