desktop/output: Avoid duplicate output manager update

This commit is contained in:
Kenny Levinsen 2024-09-05 18:32:00 +02:00 committed by Alexander Orzechowski
parent af28ac04a4
commit cfb292cca7

View file

@ -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) {