aboutsummaryrefslogtreecommitdiff
path: root/include/backend
diff options
context:
space:
mode:
authorSimon Ser <contact@emersion.fr>2023-02-02 17:33:12 +0100
committerAlexander Orzechowski <alex@ozal.ski>2023-02-02 18:24:38 +0000
commit2b5eb0733ee326102cc2bd6494be429110f7bb28 (patch)
tree5b84ff5d212aa0d223f26c4f6ab2d7cf2882dd71 /include/backend
parent8df62e4016ebb633ab281c9dce4583422a070cfa (diff)
backend/wayland: make destroy_wl_seats() handle a single seat
Instead of destroying all seats, destroy a single one. We only need to destroy all seats at one call-site (backend_destroy), but we'll need to destroy a single seat elsewhere in the next commit.
Diffstat (limited to 'include/backend')
-rw-r--r--include/backend/wayland.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/backend/wayland.h b/include/backend/wayland.h
index c23c0f9a..6dd457a5 100644
--- a/include/backend/wayland.h
+++ b/include/backend/wayland.h
@@ -149,7 +149,7 @@ void init_seat_tablet(struct wlr_wl_seat *seat);
void finish_seat_tablet(struct wlr_wl_seat *seat);
bool create_wl_seat(struct wl_seat *wl_seat, struct wlr_wl_backend *wl);
-void destroy_wl_seats(struct wlr_wl_backend *wl);
+void destroy_wl_seat(struct wlr_wl_seat *seat);
void destroy_wl_buffer(struct wlr_wl_buffer *buffer);
extern const struct wlr_pointer_impl wl_pointer_impl;