aboutsummaryrefslogtreecommitdiff
path: root/include/wlr/backend/multi.h
diff options
context:
space:
mode:
authorTony Crisci <tony@dubstepdish.com>2017-12-21 18:40:54 -0500
committerGitHub <noreply@github.com>2017-12-21 18:40:54 -0500
commit0a370c529806077a11638e7fa856d5fbb539496b (patch)
treeb00eb27649a61035af82b735673e6fd780862f9b /include/wlr/backend/multi.h
parent1a96ce0c53c84295d33b143e1b6cf02cb7017d50 (diff)
parent4cec7f54e24a58fd9756395ce64a5bd73f412c9e (diff)
Merge pull request #506 from acrisci/multi-backend-fixes
[wip] multibackend fixes
Diffstat (limited to 'include/wlr/backend/multi.h')
-rw-r--r--include/wlr/backend/multi.h9
1 files changed, 7 insertions, 2 deletions
diff --git a/include/wlr/backend/multi.h b/include/wlr/backend/multi.h
index e56b07b1..d9914efc 100644
--- a/include/wlr/backend/multi.h
+++ b/include/wlr/backend/multi.h
@@ -4,13 +4,18 @@
#include <wlr/backend.h>
#include <wlr/backend/session.h>
-struct wlr_backend *wlr_multi_backend_create(struct wl_display *display,
- struct wlr_session *session);
+struct wlr_backend *wlr_multi_backend_create(struct wl_display *display);
+
void wlr_multi_backend_add(struct wlr_backend *multi,
struct wlr_backend *backend);
+void wlr_multi_backend_remove(struct wlr_backend *multi,
+ struct wlr_backend *backend);
+
bool wlr_backend_is_multi(struct wlr_backend *backend);
struct wlr_session *wlr_multi_get_session(struct wlr_backend *base);
+bool wlr_multi_is_empty(struct wlr_backend *backend);
+
#endif