aboutsummaryrefslogtreecommitdiff
path: root/sway/container.c
diff options
context:
space:
mode:
Diffstat (limited to 'sway/container.c')
-rw-r--r--sway/container.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sway/container.c b/sway/container.c
index a3bc9864..05bb6abb 100644
--- a/sway/container.c
+++ b/sway/container.c
@@ -295,6 +295,8 @@ swayc_t *destroy_output(swayc_t *output) {
remove_child(child);
add_child(root_container.children->items[p], child);
}
+ update_visibility(root_container.children->items[p]);
+ arrange_windows(root_container.children->items[p], -1, -1);
}
}
sway_log(L_DEBUG, "OUTPUT: Destroying output '%lu'", output->handle);