efl-wl: multiply axis events by 10 to send normalized values

ref T6443
This commit is contained in:
Mike Blumenkrantz 2018-01-12 16:02:40 -05:00
parent 60028fafb7
commit abc88c498e
1 changed files with 2 additions and 2 deletions

View File

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