backend: fix return value of attempt_drm_backend

The multi backend was returned instead of the primary DRM backend.
This commit is contained in:
Chris Chamberlain 2021-12-13 14:53:41 +01:00 committed by Simon Ser
parent e3fefda023
commit f6d3efbf4b
1 changed files with 1 additions and 1 deletions

View File

@ -239,7 +239,7 @@ static struct wlr_backend *attempt_drm_backend(struct wl_display *display,
return NULL;
}
return backend;
return primary_drm;
}
#endif