summaryrefslogtreecommitdiffstats
path: root/sway/tree/container.c
diff options
context:
space:
mode:
Diffstat (limited to 'sway/tree/container.c')
-rw-r--r--sway/tree/container.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/sway/tree/container.c b/sway/tree/container.c
index b7442002..4e85021d 100644
--- a/sway/tree/container.c
+++ b/sway/tree/container.c
@@ -67,7 +67,7 @@ void container_create_notify(struct sway_container *container) {
67 } 67 }
68} 68}
69 69
70static void container_update_textures_recursive(struct sway_container *con) { 70void container_update_textures_recursive(struct sway_container *con) {
71 if (con->type == C_CONTAINER || con->type == C_VIEW) { 71 if (con->type == C_CONTAINER || con->type == C_VIEW) {
72 container_update_title_textures(con); 72 container_update_title_textures(con);
73 } 73 }
@@ -79,6 +79,10 @@ static void container_update_textures_recursive(struct sway_container *con) {
79 struct sway_container *child = con->children->items[i]; 79 struct sway_container *child = con->children->items[i];
80 container_update_textures_recursive(child); 80 container_update_textures_recursive(child);
81 } 81 }
82
83 if (con->type == C_WORKSPACE) {
84 container_update_textures_recursive(con->sway_workspace->floating);
85 }
82 } 86 }
83} 87}
84 88