aboutsummaryrefslogtreecommitdiff
path: root/sway/handlers.c
diff options
context:
space:
mode:
authorZandr Martin <zandrmartin@gmail.com>2016-07-28 17:43:43 -0500
committerZandr Martin <zandrmartin@gmail.com>2016-07-28 17:43:43 -0500
commita3980d456d660020072c0a62b1ba129fd86aa09a (patch)
treec20ccbcbf5b06c19f411dfc92a4ec9bffc33c259 /sway/handlers.c
parenta5af3bce986d2bd25721f865c0c3dd37ff703eed (diff)
third try for #678
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;
}