aboutsummaryrefslogtreecommitdiff
path: root/tinywl
diff options
context:
space:
mode:
authorSimon Ser <contact@emersion.fr>2023-02-11 13:28:33 +0100
committerKirill Primak <vyivel@eclair.cafe>2024-01-23 08:37:29 +0000
commit00bb1b0f84991a100ae420ee413dd861c25c43fb (patch)
tree04272b8dd0d90ff9d28b1fd1ff2a26bcc849506b /tinywl
parent88b16bac54d9995196ace3823c4b81ffc84d7d9e (diff)
seat/pointer: add support for axis_relative_direction event
Diffstat (limited to 'tinywl')
-rw-r--r--tinywl/tinywl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tinywl/tinywl.c b/tinywl/tinywl.c
index 603e4692..bb1d9f57 100644
--- a/tinywl/tinywl.c
+++ b/tinywl/tinywl.c
@@ -537,7 +537,7 @@ static void server_cursor_axis(struct wl_listener *listener, void *data) {
/* Notify the client with pointer focus of the axis event. */
wlr_seat_pointer_notify_axis(server->seat,
event->time_msec, event->orientation, event->delta,
- event->delta_discrete, event->source);
+ event->delta_discrete, event->source, event->relative_direction);
}
static void server_cursor_frame(struct wl_listener *listener, void *data) {