aboutsummaryrefslogtreecommitdiff
path: root/include/wlr
diff options
context:
space:
mode:
Diffstat (limited to 'include/wlr')
-rw-r--r--include/wlr/backend.h1
-rw-r--r--include/wlr/backend/multi.h9
2 files changed, 8 insertions, 2 deletions
diff --git a/include/wlr/backend.h b/include/wlr/backend.h
index 2c8fd982..4632dcbf 100644
--- a/include/wlr/backend.h
+++ b/include/wlr/backend.h
@@ -11,6 +11,7 @@ struct wlr_backend {
const struct wlr_backend_impl *impl;
struct {
+ struct wl_signal destroy;
struct wl_signal input_add;
struct wl_signal input_remove;
struct wl_signal output_add;
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