wayland: implement wayl_win_destroy()

This commit is contained in:
Daniel Eklöf 2019-10-27 16:01:03 +01:00
parent 942ff566a2
commit 9e6c28f5b6
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F
5 changed files with 37 additions and 27 deletions

View file

@ -40,6 +40,8 @@ struct wl_window {
struct wl_surface *search_surface;
struct wl_subsurface *search_sub_surface;
struct wl_callback *frame_callback;
tll(const struct monitor *) on_outputs; /* Outputs we're mapped on */
};
@ -79,3 +81,5 @@ struct wayland {
/* TODO: return allocated pointer */
void wayl_init(struct wayland *wayl);
void wayl_destroy(struct wayland *wayl);
void wayl_win_destroy(struct wl_window *win);