mirror of
https://github.com/swaywm/sway.git
synced 2024-12-30 17:06:40 +01:00
arrange windows after output add
This commit is contained in:
parent
a3ae67af4e
commit
9510a20fcd
1 changed files with 2 additions and 0 deletions
|
@ -286,6 +286,8 @@ void handle_new_output(struct wl_listener *listener, void *data) {
|
||||||
|
|
||||||
wl_signal_add(&wlr_output->events.destroy, &output->output_destroy);
|
wl_signal_add(&wlr_output->events.destroy, &output->output_destroy);
|
||||||
output->output_destroy.notify = handle_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) {
|
void handle_output_destroy(struct wl_listener *listener, void *data) {
|
||||||
|
|
Loading…
Reference in a new issue