aboutsummaryrefslogtreecommitdiffstats
path: root/sway/tree/container.c
diff options
context:
space:
mode:
authorLibravatar emersion <contact@emersion.fr>2018-07-25 16:24:15 +0100
committerLibravatar GitHub <noreply@github.com>2018-07-25 16:24:15 +0100
commit6a8d1e5044086a8dce121bd1f405b342e17a1301 (patch)
tree18aa3e845dbe44b0bbe245063af591b940126970 /sway/tree/container.c
parentMerge pull request #2353 from emersion/render-opaque-overlay (diff)
parentfix #2355: "move workspace to output up" crashes (diff)
downloadsway-6a8d1e5044086a8dce121bd1f405b342e17a1301.tar.gz
sway-6a8d1e5044086a8dce121bd1f405b342e17a1301.tar.zst
sway-6a8d1e5044086a8dce121bd1f405b342e17a1301.zip
Merge pull request #2358 from CedricCabessa/fix-2355-move-workspace-crashes
fix #2355: "move workspace to output up" crashes
Diffstat (limited to 'sway/tree/container.c')
-rw-r--r--sway/tree/container.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/sway/tree/container.c b/sway/tree/container.c
index b56b4e87..237e1a35 100644
--- a/sway/tree/container.c
+++ b/sway/tree/container.c
@@ -68,7 +68,9 @@ void container_create_notify(struct sway_container *container) {
68} 68}
69 69
70static void container_update_textures_recursive(struct sway_container *con) { 70static void container_update_textures_recursive(struct sway_container *con) {
71 container_update_title_textures(con); 71 if (con->type == C_CONTAINER || con->type == C_VIEW) {
72 container_update_title_textures(con);
73 }
72 74
73 if (con->type == C_VIEW) { 75 if (con->type == C_VIEW) {
74 view_update_marks_textures(con->sway_view); 76 view_update_marks_textures(con->sway_view);