backend/headless: leave new outputs disabled by default

This commit is contained in:
Simon Ser 2023-06-27 15:58:44 +02:00 committed by Alexander Orzechowski
parent e1bdc62c38
commit f4ee5eae93
2 changed files with 0 additions and 4 deletions

View file

@ -17,8 +17,6 @@ static bool backend_start(struct wlr_backend *wlr_backend) {
struct wlr_headless_output *output;
wl_list_for_each(output, &backend->outputs, link) {
wl_event_source_timer_update(output->frame_timer, output->frame_delay);
wlr_output_update_enabled(&output->wlr_output, true);
wl_signal_emit_mutable(&backend->backend.events.new_output,
&output->wlr_output);
}

View file

@ -141,8 +141,6 @@ struct wlr_output *wlr_headless_add_output(struct wlr_backend *wlr_backend,
wl_list_insert(&backend->outputs, &output->link);
if (backend->started) {
wl_event_source_timer_update(output->frame_timer, output->frame_delay);
wlr_output_update_enabled(wlr_output, true);
wl_signal_emit_mutable(&backend->backend.events.new_output, wlr_output);
}