aboutsummaryrefslogtreecommitdiff
path: root/backend/drm/drm.c
diff options
context:
space:
mode:
Diffstat (limited to 'backend/drm/drm.c')
-rw-r--r--backend/drm/drm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/backend/drm/drm.c b/backend/drm/drm.c
index 5fbcf32f..5d901352 100644
--- a/backend/drm/drm.c
+++ b/backend/drm/drm.c
@@ -1467,7 +1467,7 @@ static bool connect_drm_connector(struct wlr_drm_connector *wlr_conn,
free(current_modeinfo);
- wlr_output_init(output, &drm->backend, &output_impl, drm->display, &state);
+ wlr_output_init(output, &drm->backend, &output_impl, wl_display_get_event_loop(drm->display), &state);
wlr_output_state_finish(&state);
// fill out the modes