aboutsummaryrefslogtreecommitdiff
path: root/sway/tree
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2018-07-30 08:05:14 -0400
committerGitHub <noreply@github.com>2018-07-30 08:05:14 -0400
commit5f8676f21478a05c349f0222755e999e2f457acc (patch)
treef1758d634c85ac5772e26d91078e892e596a6c40 /sway/tree
parent8dacd0639cb68675f7fd6fb762a0f71dc6148cb7 (diff)
parentb8efdeae298d59bf7015a9821e3d29cc4e9852e1 (diff)
Merge pull request #2383 from RedSoxFan/fix-title-scale
Fix title textures on scale change
Diffstat (limited to 'sway/tree')
-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) {
}
}
-static void container_update_textures_recursive(struct sway_container *con) {
+void container_update_textures_recursive(struct sway_container *con) {
if (con->type == C_CONTAINER || con->type == C_VIEW) {
container_update_title_textures(con);
}
@@ -79,6 +79,10 @@ static void container_update_textures_recursive(struct sway_container *con) {
struct sway_container *child = con->children->items[i];
container_update_textures_recursive(child);
}
+
+ if (con->type == C_WORKSPACE) {
+ container_update_textures_recursive(con->sway_workspace->floating);
+ }
}
}