Fix view staying in view list, even after destroyed
This commit is contained in:
parent
2b66a97cf9
commit
1931dcc605
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->unmap.link);
|
||||||
wl_list_remove(&view->destroy.link);
|
wl_list_remove(&view->destroy.link);
|
||||||
|
|
||||||
|
wl_list_remove(&view->link);
|
||||||
|
|
||||||
free(view);
|
free(view);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue