aboutsummaryrefslogtreecommitdiff
path: root/backend/drm
diff options
context:
space:
mode:
authorScott Anderson <ascent12@hotmail.com>2017-10-21 17:37:25 +1300
committerScott Anderson <ascent12@hotmail.com>2017-10-22 10:36:07 +1300
commit822a9f65a4f965a7561de287013c2a5c159453ab (patch)
tree21093ceecc00b080f4285774848ed2ebf2ccf186 /backend/drm
parent4ea84c5765b138153aa313f23288935192b75c42 (diff)
Add pointer to backend inside wlr_output
Diffstat (limited to 'backend/drm')
-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 0e898d3f..b3057166 100644
--- a/backend/drm/drm.c
+++ b/backend/drm/drm.c
@@ -707,7 +707,7 @@ void wlr_drm_scan_connectors(struct wlr_drm_backend *drm) {
drmModeFreeConnector(drm_conn);
continue;
}
- wlr_output_init(&wlr_conn->output, &output_impl);
+ wlr_output_init(&wlr_conn->output, &drm->backend, &output_impl);
struct wl_event_loop *ev = wl_display_get_event_loop(drm->display);
wlr_conn->retry_pageflip = wl_event_loop_add_timer(ev, retry_pageflip,