From 6cda3e251c8f78a376b3a239c2c4fd7fae1a3f3e Mon Sep 17 00:00:00 2001 From: Alexander Orzechowski Date: Wed, 16 Aug 2023 11:35:28 -0400 Subject: output: Add initialization state to wlr_output_init --- backend/drm/drm.c | 2 +- backend/headless/output.c | 2 +- backend/wayland/output.c | 2 +- backend/x11/output.c | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) (limited to 'backend') diff --git a/backend/drm/drm.c b/backend/drm/drm.c index 5e334545..bf6d0bd5 100644 --- a/backend/drm/drm.c +++ b/backend/drm/drm.c @@ -1373,7 +1373,7 @@ static bool connect_drm_connector(struct wlr_drm_connector *wlr_conn, wlr_conn->crtc ? (int)wlr_conn->crtc->id : -1); wlr_output_init(&wlr_conn->output, &drm->backend, &output_impl, - drm->display); + drm->display, NULL); wlr_output_set_name(&wlr_conn->output, wlr_conn->name); diff --git a/backend/headless/output.c b/backend/headless/output.c index 9cac54d1..12bededc 100644 --- a/backend/headless/output.c +++ b/backend/headless/output.c @@ -121,7 +121,7 @@ struct wlr_output *wlr_headless_add_output(struct wlr_backend *wlr_backend, } output->backend = backend; wlr_output_init(&output->wlr_output, &backend->backend, &output_impl, - backend->display); + backend->display, NULL); struct wlr_output *wlr_output = &output->wlr_output; output_set_custom_mode(output, width, height, 0); diff --git a/backend/wayland/output.c b/backend/wayland/output.c index 24b3ff03..6d221285 100644 --- a/backend/wayland/output.c +++ b/backend/wayland/output.c @@ -765,7 +765,7 @@ static struct wlr_wl_output *output_create(struct wlr_wl_backend *backend, return NULL; } wlr_output_init(&output->wlr_output, &backend->backend, &output_impl, - backend->local_display); + backend->local_display, NULL); struct wlr_output *wlr_output = &output->wlr_output; wlr_output_update_custom_mode(wlr_output, 1280, 720, 0); diff --git a/backend/x11/output.c b/backend/x11/output.c index 2d433f81..81cb5961 100644 --- a/backend/x11/output.c +++ b/backend/x11/output.c @@ -539,7 +539,7 @@ struct wlr_output *wlr_x11_output_create(struct wlr_backend *backend) { pixman_region32_init(&output->exposed); struct wlr_output *wlr_output = &output->wlr_output; - wlr_output_init(wlr_output, &x11->backend, &output_impl, x11->wl_display); + wlr_output_init(wlr_output, &x11->backend, &output_impl, x11->wl_display, NULL); wlr_output_update_custom_mode(wlr_output, 1024, 768, 0); -- cgit v1.2.3