From 7460d9f565092836f81b917a040caff57142d91a Mon Sep 17 00:00:00 2001 From: William McKinnon Date: Wed, 27 Apr 2022 17:33:23 -0400 Subject: merge sway master --- include/sway/input/cursor.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'include/sway/input/cursor.h') diff --git a/include/sway/input/cursor.h b/include/sway/input/cursor.h index 7d66e699..3a71a35f 100644 --- a/include/sway/input/cursor.h +++ b/include/sway/input/cursor.h @@ -4,7 +4,7 @@ #include #include #include -#include +#include #include "sway/input/seat.h" #include "config.h" @@ -42,6 +42,8 @@ struct sway_cursor { struct wl_listener swipe_begin; struct wl_listener swipe_update; struct wl_listener swipe_end; + struct wl_listener hold_begin; + struct wl_listener hold_end; struct wl_listener motion; struct wl_listener motion_absolute; @@ -110,7 +112,7 @@ void dispatch_cursor_button(struct sway_cursor *cursor, enum wlr_button_state state); void dispatch_cursor_axis(struct sway_cursor *cursor, - struct wlr_event_pointer_axis *event); + struct wlr_pointer_axis_event *event); void cursor_set_image(struct sway_cursor *cursor, const char *image, struct wl_client *client); -- cgit v1.2.3