forked from enlightenment/efl
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:
parent
8286a56279
commit
91f513f77d
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue