commit 6a8d1e5044086a8dce121bd1f405b342e17a1301
parent 53dbe2da4bd2563ec69211d0c51fb347109fc70d
Author: emersion <contact@emersion.fr>
Date: Wed, 25 Jul 2018 16:24:15 +0100
Merge pull request #2358 from CedricCabessa/fix-2355-move-workspace-crashes
fix #2355: "move workspace to output up" crashes
Diffstat:
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/sway/tree/container.c b/sway/tree/container.c
@@ -68,7 +68,9 @@ void container_create_notify(struct sway_container *container) {
}
static void container_update_textures_recursive(struct sway_container *con) {
- container_update_title_textures(con);
+ if (con->type == C_CONTAINER || con->type == C_VIEW) {
+ container_update_title_textures(con);
+ }
if (con->type == C_VIEW) {
view_update_marks_textures(con->sway_view);