aboutsummaryrefslogtreecommitdiff
path: root/backend/backend.c
diff options
context:
space:
mode:
Diffstat (limited to 'backend/backend.c')
-rw-r--r--backend/backend.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/backend/backend.c b/backend/backend.c
index 34c1e366..24150b13 100644
--- a/backend/backend.c
+++ b/backend/backend.c
@@ -21,6 +21,7 @@
#if WLR_HAS_DRM_BACKEND
#include <wlr/backend/drm.h>
+#include "backend/drm/monitor.h"
#endif
#if WLR_HAS_LIBINPUT_BACKEND
@@ -375,6 +376,8 @@ struct wlr_backend *wlr_backend_autocreate(struct wl_display *display) {
return NULL;
}
+ drm_backend_monitor_create(backend, primary_drm, multi->session);
+
return backend;
#endif