From 0a74364656ff7e36d276373a3e159e86784363d7 Mon Sep 17 00:00:00 2001 From: taiyu Date: Thu, 27 Aug 2015 08:32:06 -0700 Subject: [PATCH] update visibility for moved workspaces --- sway/container.c | 2 ++ 1 file changed, 2 insertions(+) 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);