Fix view staying in view list, even after destroyed

This commit is contained in:
buffet 2019-12-24 15:41:23 +00:00
parent 5014c08fc9
commit 31217d3089

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->destroy.link);
wl_list_remove(&view->link);
free(view);
}