discomfitor pushed a commit to branch master.

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

commit 91f513f77d6c2083fff7e39ae56b3eb70929d28b
Author: Mike Blumenkrantz <[email protected]>
Date:   Wed Aug 23 14:24:11 2017 -0400

    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 d20849eda2..6f751fb9b2 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)
      {

-- 


Reply via email to