From f4ee5eae932a56a718c9ad687b599a1a7dbbc618 Mon Sep 17 00:00:00 2001 From: Simon Ser Date: Tue, 27 Jun 2023 15:58:44 +0200 Subject: [PATCH] backend/headless: leave new outputs disabled by default --- backend/headless/backend.c | 2 -- backend/headless/output.c | 2 -- 2 files changed, 4 deletions(-) diff --git a/backend/headless/backend.c b/backend/headless/backend.c index c8d537ab6..df14d6af5 100644 --- a/backend/headless/backend.c +++ b/backend/headless/backend.c @@ -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); } diff --git a/backend/headless/output.c b/backend/headless/output.c index cddbb0279..db7b707f8 100644 --- a/backend/headless/output.c +++ b/backend/headless/output.c @@ -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); }