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:
parent
6849ba1364
commit
c5f6bbafa5
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in New Issue