aboutsummaryrefslogtreecommitdiff
path: root/sway/layout.c
diff options
context:
space:
mode:
Diffstat (limited to 'sway/layout.c')
-rw-r--r--sway/layout.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/sway/layout.c b/sway/layout.c
index 5c57d0a7..08d06d0b 100644
--- a/sway/layout.c
+++ b/sway/layout.c
@@ -465,6 +465,12 @@ static void arrange_windows_r(swayc_t *container, double width, double height) {
sway_log(L_DEBUG, "Arranging workspace #%d at %f, %f", i, child->x, child->y);
arrange_windows_r(child, -1, -1);
}
+
+ // Bring all unmanaged views to the front
+ for (i = 0; i < container->unmanaged->length; ++i) {
+ wlc_handle *handle = container->unmanaged->items[i];
+ wlc_view_bring_to_front(*handle);
+ }
}
return;
case C_VIEW: