mirror of
https://github.com/swaywm/sway.git
synced 2024-11-21 23:41:27 +00:00
desktop/output: Avoid duplicate output manager update
This commit is contained in:
parent
af28ac04a4
commit
cfb292cca7
|
@ -633,10 +633,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