aboutsummaryrefslogtreecommitdiff
path: root/sway/handlers.c
diff options
context:
space:
mode:
Diffstat (limited to 'sway/handlers.c')
-rw-r--r--sway/handlers.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sway/handlers.c b/sway/handlers.c
index 05da5700..405df1c8 100644
--- a/sway/handlers.c
+++ b/sway/handlers.c
@@ -269,6 +269,7 @@ static bool handle_view_created(wlc_handle handle) {
wlc_view_set_mask(handle, VISIBLE);
wlc_view_set_output(handle, panel_config->output);
wlc_view_bring_to_front(handle);
+ arrange_windows(&root_container, -1, -1);
return true;
}