ecore-wl2: normalize axis event values
authorMike Blumenkrantz <zmike@osg.samsung.com>
Wed, 23 Aug 2017 18:24:11 +0000 (14:24 -0400)
committerMike Blumenkrantz <zmike@osg.samsung.com>
Fri, 25 Aug 2017 18:48:11 +0000 (14:48 -0400)
this is value * 10 from the compositor, so /= 10 to get real value

fix T5427

@fix

src/lib/ecore_wl2/ecore_wl2_input.c

index d20849e..6f751fb 100644 (file)
@@ -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)
      {