mirror of
https://github.com/swaywm/sway.git
synced 2024-11-12 05:24:11 +01:00
Destroy marks textures when view destroyed
This commit is contained in:
parent
b351d0a64a
commit
69ac7f73e7
@ -43,6 +43,14 @@ void view_destroy(struct sway_view *view) {
|
||||
}
|
||||
list_free(view->marks);
|
||||
|
||||
if (view->marks_focused) {
|
||||
// If one is set then all of these are set
|
||||
wlr_texture_destroy(view->marks_focused);
|
||||
wlr_texture_destroy(view->marks_focused_inactive);
|
||||
wlr_texture_destroy(view->marks_unfocused);
|
||||
wlr_texture_destroy(view->marks_urgent);
|
||||
}
|
||||
|
||||
container_destroy(view->swayc);
|
||||
|
||||
if (view->impl->destroy) {
|
||||
|
Loading…
Reference in New Issue
Block a user