From 2b5eb0733ee326102cc2bd6494be429110f7bb28 Mon Sep 17 00:00:00 2001 From: Simon Ser Date: Thu, 2 Feb 2023 17:33:12 +0100 Subject: 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. --- include/backend/wayland.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include') 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; -- cgit v1.2.3