From f6d3efbf4b76a2100949fb0b88662a1324d4af54 Mon Sep 17 00:00:00 2001 From: Chris Chamberlain Date: Mon, 13 Dec 2021 14:53:41 +0100 Subject: backend: fix return value of attempt_drm_backend The multi backend was returned instead of the primary DRM backend. --- backend/backend.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3