Fix view staying in view list, even after destroyed
This commit is contained in:
parent
5014c08fc9
commit
31217d3089
1 changed files with 2 additions and 0 deletions
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue