mirror of
https://github.com/swaywm/sway.git
synced 2024-11-22 07:51:28 +00:00
desktop/output: Avoid duplicate output manager update
(cherry picked from 4fe054c6db
)
This commit is contained in:
parent
6baee5cb68
commit
c580b54b5e
|
@ -683,10 +683,6 @@ static void output_manager_apply(struct sway_server *server,
|
||||||
wlr_output_configuration_v1_send_failed(config);
|
wlr_output_configuration_v1_send_failed(config);
|
||||||
}
|
}
|
||||||
wlr_output_configuration_v1_destroy(config);
|
wlr_output_configuration_v1_destroy(config);
|
||||||
|
|
||||||
if (!test_only) {
|
|
||||||
update_output_manager_config(server);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void handle_output_manager_apply(struct wl_listener *listener, void *data) {
|
void handle_output_manager_apply(struct wl_listener *listener, void *data) {
|
||||||
|
|
Loading…
Reference in a new issue