multiply pointer axis values by 10 for wl clients

wayland clients expect this multiplier, so now scrolling speed should be
back to normal
This commit is contained in:
Mike Blumenkrantz 2017-06-30 10:25:23 -04:00
parent 6849ba1364
commit c5f6bbafa5
1 changed files with 2 additions and 2 deletions

View File

@ -439,9 +439,9 @@ _e_comp_wl_evas_cb_mouse_wheel(void *data, Evas *evas EINA_UNUSED, Evas_Object *
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 (!ec->comp_data->surface) return;