ecore-wl2: normalize axis event values

this is value * 10 from the compositor, so /= 10 to get real value

fix T5427

@fix
This commit is contained in:
Mike Blumenkrantz 2017-08-23 14:24:11 -04:00
parent 8286a56279
commit 91f513f77d
1 changed files with 1 additions and 0 deletions

View 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)
{