diff options
-rw-r--r-- | sway/tree/view.c | 8 |
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) { |