diff options
author | Roman Gilg <subdiff@gmail.com> | 2021-04-12 10:39:51 +0200 |
---|---|---|
committer | Simon Ser <contact@emersion.fr> | 2021-04-12 11:43:56 +0200 |
commit | b36af22c94ea8e02616f5ab0ca06001f41f69a49 (patch) | |
tree | 9db3987acf485f5e35572a6125462fb458343283 /backend/multi | |
parent | b29ac8fbaceeac7f902fc75bb94a13b9cd9a0465 (diff) |
backend: move get_drm_fd to public interface
The get_drm_fd was made available in an internal header with a53ab146f. Move it
now to the public header so consumers opting in to the unstable interfaces can
make use of it.
Diffstat (limited to 'backend/multi')
-rw-r--r-- | backend/multi/backend.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/backend/multi/backend.c b/backend/multi/backend.c index a8f96669..e9ed74ec 100644 --- a/backend/multi/backend.c +++ b/backend/multi/backend.c @@ -6,7 +6,6 @@ #include <wlr/backend/interface.h> #include <wlr/backend/session.h> #include <wlr/util/log.h> -#include "backend/backend.h" #include "backend/multi.h" #include "util/signal.h" @@ -103,7 +102,7 @@ static int multi_backend_get_drm_fd(struct wlr_backend *backend) { struct subbackend_state *sub; wl_list_for_each(sub, &multi->backends, link) { if (sub->backend->impl->get_drm_fd) { - return backend_get_drm_fd(sub->backend); + return wlr_backend_get_drm_fd(sub->backend); } } |