mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-10-31 22:25:21 -04:00
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.
This commit is contained in:
parent
8df62e4016
commit
2b5eb0733e
3 changed files with 30 additions and 29 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue