aboutsummaryrefslogtreecommitdiff
path: root/sway/tree/container.c
diff options
context:
space:
mode:
Diffstat (limited to 'sway/tree/container.c')
-rw-r--r--sway/tree/container.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sway/tree/container.c b/sway/tree/container.c
index a17b20f7..47ba88a9 100644
--- a/sway/tree/container.c
+++ b/sway/tree/container.c
@@ -592,6 +592,7 @@ static void update_title_texture(struct sway_container *con,
}
if (*texture) {
wlr_texture_destroy(*texture);
+ *texture = NULL;
}
if (!con->formatted_title) {
return;