add support for axis_relative_direction event (wlroots!4003)

References: https://gitlab.freedesktop.org/wlroots/wlroots/-/merge_requests/4003
This commit is contained in:
Leonardo Hernández Hernández 2024-01-24 12:10:54 -06:00
parent f136aa088a
commit b3f33e9147
No known key found for this signature in database
GPG key ID: E538897EE11B9624

2
dwl.c
View file

@ -549,7 +549,7 @@ axisnotify(struct wl_listener *listener, void *data)
/* Notify the client with pointer focus of the axis event. */
wlr_seat_pointer_notify_axis(seat,
event->time_msec, event->orientation, event->delta,
event->delta_discrete, event->source);
event->delta_discrete, event->source, event->relative_direction);
}
void