summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sway/tree/view.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/sway/tree/view.c b/sway/tree/view.c
index aaca8753..c0984ca4 100644
--- a/sway/tree/view.c
+++ b/sway/tree/view.c
@@ -43,6 +43,14 @@ void view_destroy(struct sway_view *view) {
43 } 43 }
44 list_free(view->marks); 44 list_free(view->marks);
45 45
46 if (view->marks_focused) {
47 // If one is set then all of these are set
48 wlr_texture_destroy(view->marks_focused);
49 wlr_texture_destroy(view->marks_focused_inactive);
50 wlr_texture_destroy(view->marks_unfocused);
51 wlr_texture_destroy(view->marks_urgent);
52 }
53
46 container_destroy(view->swayc); 54 container_destroy(view->swayc);
47 55
48 if (view->impl->destroy) { 56 if (view->impl->destroy) {