aboutsummaryrefslogtreecommitdiffstats
path: root/sway/desktop/output.c
diff options
context:
space:
mode:
authorLibravatar Tony Crisci <tony@dubstepdish.com>2018-02-17 13:32:04 -0500
committerLibravatar Tony Crisci <tony@dubstepdish.com>2018-02-17 13:32:04 -0500
commit9510a20fcda00eecf077cc5cb06f5d47d87bccee (patch)
treeb7e5955f4f9121b2e02e0fc3d7b1bbc33477dac7 /sway/desktop/output.c
parentbasic focus in direction (diff)
downloadsway-9510a20fcda00eecf077cc5cb06f5d47d87bccee.tar.gz
sway-9510a20fcda00eecf077cc5cb06f5d47d87bccee.tar.zst
sway-9510a20fcda00eecf077cc5cb06f5d47d87bccee.zip
arrange windows after output add
Diffstat (limited to 'sway/desktop/output.c')
-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) {
286 286
287 wl_signal_add(&wlr_output->events.destroy, &output->output_destroy); 287 wl_signal_add(&wlr_output->events.destroy, &output->output_destroy);
288 output->output_destroy.notify = handle_output_destroy; 288 output->output_destroy.notify = handle_output_destroy;
289
290 arrange_windows(&root_container, -1, -1);
289} 291}
290 292
291void handle_output_destroy(struct wl_listener *listener, void *data) { 293void handle_output_destroy(struct wl_listener *listener, void *data) {