From 40bfd9f8f79927b5095166a4b4b5b191288338ef Mon Sep 17 00:00:00 2001 From: Mykola Orliuk Date: Sat, 3 Oct 2020 20:48:11 +0200 Subject: backend/wayland: Bind seat listener to wlr_wl_seat --- include/backend/wayland.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'include/backend/wayland.h') diff --git a/include/backend/wayland.h b/include/backend/wayland.h index 9542a75f..c8a0429c 100644 --- a/include/backend/wayland.h +++ b/include/backend/wayland.h @@ -112,6 +112,8 @@ struct wlr_wl_seat { struct wl_touch *touch; struct wl_pointer *pointer; struct wl_keyboard *keyboard; + + struct wlr_wl_backend *backend; }; struct wlr_wl_backend *get_wl_backend_from_backend(struct wlr_backend *backend); @@ -129,6 +131,6 @@ extern const struct wl_seat_listener seat_listener; struct wlr_wl_tablet_seat *wl_add_tablet_seat( struct zwp_tablet_manager_v2 *manager, - struct wl_seat *seat, struct wlr_wl_backend *backend); + struct wlr_wl_seat *seat); #endif -- cgit v1.2.3