aboutsummaryrefslogtreecommitdiff
path: root/include/wlr/backend/multi.h
diff options
context:
space:
mode:
authorScott Anderson <ascent12@hotmail.com>2017-07-11 18:51:19 +1200
committerScott Anderson <ascent12@hotmail.com>2017-08-06 13:25:26 +1200
commitae4478e17f56c1fb52a77d1f034387f154eddef5 (patch)
treee2318946e5679221ceff80710905d348a8dd96da /include/wlr/backend/multi.h
parent41b98f21e50a6d57ba4b7fd8ba90066bba614e6a (diff)
Changed ownership of wlr_session to the multi backend.
Currently breaks VT switching for examples.
Diffstat (limited to 'include/wlr/backend/multi.h')
-rw-r--r--include/wlr/backend/multi.h5
1 files changed, 4 insertions, 1 deletions
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);