aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Ser <contact@emersion.fr>2023-06-27 15:58:44 +0200
committerAlexander Orzechowski <alex@ozal.ski>2023-06-27 16:26:30 +0000
commitf4ee5eae932a56a718c9ad687b599a1a7dbbc618 (patch)
tree6c85c907ed53fad2f3ca552ccd2f196cd1973412
parente1bdc62c38975ba5303945c7443f1871f8d0ca38 (diff)
backend/headless: leave new outputs disabled by default
-rw-r--r--backend/headless/backend.c2
-rw-r--r--backend/headless/output.c2
2 files changed, 0 insertions, 4 deletions
diff --git a/backend/headless/backend.c b/backend/headless/backend.c
index c8d537ab..df14d6af 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 cddbb027..db7b707f 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);
}