forked from enlightenment/enlightenment
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
89aa89f3a6
commit
42523d27f0
|
@ -441,9 +441,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