aboutsummaryrefslogtreecommitdiff
path: root/include/backend/wayland.h
diff options
context:
space:
mode:
authorMykola Orliuk <virkony@gmail.com>2020-10-03 20:48:11 +0200
committerSimon Ser <contact@emersion.fr>2020-11-12 12:31:32 +0100
commit40bfd9f8f79927b5095166a4b4b5b191288338ef (patch)
treeb8a99d164f216339f3c12f3bba8fa02c8ba6ec7d /include/backend/wayland.h
parente06c9e43afd8d2067c2c28bc25ed0830e43e5c78 (diff)
backend/wayland: Bind seat listener to wlr_wl_seat
Diffstat (limited to 'include/backend/wayland.h')
-rw-r--r--include/backend/wayland.h4
1 files changed, 3 insertions, 1 deletions
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