diff options
Diffstat (limited to 'sway')
-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) { } 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) { |