diff options
author | Tony Crisci <tony@dubstepdish.com> | 2018-02-17 13:32:04 -0500 |
---|---|---|
committer | Tony Crisci <tony@dubstepdish.com> | 2018-02-17 13:32:04 -0500 |
commit | 9510a20fcda00eecf077cc5cb06f5d47d87bccee (patch) | |
tree | b7e5955f4f9121b2e02e0fc3d7b1bbc33477dac7 | |
parent | basic focus in direction (diff) | |
download | sway-9510a20fcda00eecf077cc5cb06f5d47d87bccee.tar.gz sway-9510a20fcda00eecf077cc5cb06f5d47d87bccee.tar.zst sway-9510a20fcda00eecf077cc5cb06f5d47d87bccee.zip |
arrange windows after output add
-rw-r--r-- | sway/desktop/output.c | 2 |
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 | ||
291 | void handle_output_destroy(struct wl_listener *listener, void *data) { | 293 | void handle_output_destroy(struct wl_listener *listener, void *data) { |