aboutsummaryrefslogtreecommitdiff
path: root/include/wlr
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2017-08-05 23:08:35 -0400
committerDrew DeVault <sir@cmpwn.com>2017-08-05 23:08:35 -0400
commit5bf61ca7edb658737f3ccbaed0a99f4779d329bb (patch)
tree0e29dfa81a30d6172c558d2b5df6d95f31a32b20 /include/wlr
parentf1a069d50df7be30a0ae3cef763bb7337d88dbfc (diff)
Check for multi backend before using it
Diffstat (limited to 'include/wlr')
-rw-r--r--include/wlr/backend/multi.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/wlr/backend/multi.h b/include/wlr/backend/multi.h
index 048c4043..e8e46bed 100644
--- a/include/wlr/backend/multi.h
+++ b/include/wlr/backend/multi.h
@@ -10,6 +10,8 @@ struct wlr_backend *wlr_multi_backend_create(struct wlr_session *session,
void wlr_multi_backend_add(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);
#endif