sway

i3-compatible Wayland compositor
git clone https://git.awy.one/sway
Log | Files | Refs | README | LICENSE

commit 50298dc9018e0045f7173a380c3d618c5f89cd43
parent 32a572cecfd0f6072a78ce0a381a2f8365f9010a
Author: emersion <contact@emersion.fr>
Date:   Sat, 12 May 2018 13:13:38 +0100

Send pointer discrete axis values and source

Update for swaywm/wlroots#970

Diffstat:
Msway/input/cursor.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sway/input/cursor.c b/sway/input/cursor.c @@ -240,7 +240,7 @@ static void handle_cursor_axis(struct wl_listener *listener, void *data) { struct sway_cursor *cursor = wl_container_of(listener, cursor, axis); struct wlr_event_pointer_axis *event = data; wlr_seat_pointer_notify_axis(cursor->seat->wlr_seat, event->time_msec, - event->orientation, event->delta); + event->orientation, event->delta, event->delta_discrete, event->source); } static void handle_touch_down(struct wl_listener *listener, void *data) {