summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLeonardo Hernández Hernández <leohdz172@proton.me>2024-01-24 12:10:54 -0600
committerLeonardo Hernández Hernández <leohdz172@proton.me>2024-01-24 12:10:54 -0600
commitb3f33e91479d795436b2c6937d58754eaf18192e (patch)
treed473ddf257d35261c508c8306f629a74074874be
parentf136aa088ab0f439c151b34fb1465abd85ca97ff (diff)
add support for axis_relative_direction event (wlroots!4003)
References: https://gitlab.freedesktop.org/wlroots/wlroots/-/merge_requests/4003
-rw-r--r--dwl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/dwl.c b/dwl.c
index 6d29ec0..a4e4983 100644
--- a/dwl.c
+++ b/dwl.c
@@ -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