aboutsummaryrefslogtreecommitdiff
path: root/backend/headless/output.c
diff options
context:
space:
mode:
Diffstat (limited to 'backend/headless/output.c')
-rw-r--r--backend/headless/output.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/backend/headless/output.c b/backend/headless/output.c
index 9fc92e88..b89d4106 100644
--- a/backend/headless/output.c
+++ b/backend/headless/output.c
@@ -139,7 +139,7 @@ struct wlr_output *wlr_headless_add_output(struct wlr_backend *wlr_backend,
if (backend->started) {
wl_event_source_timer_update(output->frame_timer, output->frame_delay);
- wlr_output_update_enabled(wlr_output, true);
+ wlr_output->enabled = true;
wl_signal_emit(&backend->backend.events.output_add, wlr_output);
}