aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTony Crisci <tony@dubstepdish.com>2018-02-17 13:32:04 -0500
committerTony Crisci <tony@dubstepdish.com>2018-02-17 13:32:04 -0500
commit9510a20fcda00eecf077cc5cb06f5d47d87bccee (patch)
treeb7e5955f4f9121b2e02e0fc3d7b1bbc33477dac7
parenta3ae67af4e47467b134b876e42a148b1895e7283 (diff)
arrange windows after output add
-rw-r--r--sway/desktop/output.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sway/desktop/output.c b/sway/desktop/output.c
index e250d450..ba282c2c 100644
--- a/sway/desktop/output.c
+++ b/sway/desktop/output.c
@@ -286,6 +286,8 @@ void handle_new_output(struct wl_listener *listener, void *data) {
wl_signal_add(&wlr_output->events.destroy, &output->output_destroy);
output->output_destroy.notify = handle_output_destroy;
+
+ arrange_windows(&root_container, -1, -1);
}
void handle_output_destroy(struct wl_listener *listener, void *data) {