Fix view staying in view list, even after destroyed

This commit is contained in:
buffet 2019-12-24 15:41:23 +00:00
parent 2b66a97cf9
commit 1931dcc605

View file

@ -37,6 +37,8 @@ xdg_surface_destroy_notify(struct wl_listener *listener, void *UNUSED(data))
wl_list_remove(&view->unmap.link); wl_list_remove(&view->unmap.link);
wl_list_remove(&view->destroy.link); wl_list_remove(&view->destroy.link);
wl_list_remove(&view->link);
free(view); free(view);
} }