mirror of
https://github.com/swaywm/sway
synced 2024-11-18 00:24:17 +01:00
arrange windows after output add
This commit is contained in:
parent
a3ae67af4e
commit
9510a20fcd
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user