desktop/output: Avoid duplicate output manager update

(cherry picked from 4fe054c6db)
This commit is contained in:
Kenny Levinsen 2024-09-05 18:32:00 +02:00 committed by Simon Ser
parent 6baee5cb68
commit c580b54b5e

View file

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