aboutsummaryrefslogtreecommitdiff
path: root/include/wlr
diff options
context:
space:
mode:
Diffstat (limited to 'include/wlr')
-rw-r--r--include/wlr/backend.h3
-rw-r--r--include/wlr/backend/multi.h5
2 files changed, 5 insertions, 3 deletions
diff --git a/include/wlr/backend.h b/include/wlr/backend.h
index db85c169..74cb34a9 100644
--- a/include/wlr/backend.h
+++ b/include/wlr/backend.h
@@ -19,8 +19,7 @@ struct wlr_backend {
} events;
};
-struct wlr_backend *wlr_backend_autocreate(struct wl_display *display,
- struct wlr_session *session);
+struct wlr_backend *wlr_backend_autocreate(struct wl_display *display);
bool wlr_backend_init(struct wlr_backend *backend);
void wlr_backend_destroy(struct wlr_backend *backend);
diff --git a/include/wlr/backend/multi.h b/include/wlr/backend/multi.h
index a07ca770..00b34722 100644
--- a/include/wlr/backend/multi.h
+++ b/include/wlr/backend/multi.h
@@ -2,8 +2,11 @@
#define _WLR_BACKEND_MULTI_H
#include <wlr/backend.h>
+#include <wlr/backend/udev.h>
+#include <wlr/session.h>
-struct wlr_backend *wlr_multi_backend_create();
+struct wlr_backend *wlr_multi_backend_create(struct wlr_session *session,
+ struct wlr_udev *udev);
void wlr_multi_backend_add(struct wlr_backend *multi,
struct wlr_backend *backend);