xdg_surface: handle wlr_surface destroy

This commit is contained in:
Tony Crisci 2017-09-11 17:24:55 -04:00
parent 4752b84f4e
commit c5f8f81e58
2 changed files with 25 additions and 3 deletions

View file

@ -15,6 +15,8 @@ struct wlr_xdg_surface_v6 {
struct wl_resource *surface;
struct wl_list link;
struct wl_listener surface_destroy_listener;
void *data;
};