aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--backend/backend.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/backend/backend.c b/backend/backend.c
index 33a21851..34c1e366 100644
--- a/backend/backend.c
+++ b/backend/backend.c
@@ -239,7 +239,7 @@ static struct wlr_backend *attempt_drm_backend(struct wl_display *display,
return NULL;
}
- return backend;
+ return primary_drm;
}
#endif