diff options
author | Drew DeVault <sir@cmpwn.com> | 2017-08-05 23:08:35 -0400 |
---|---|---|
committer | Drew DeVault <sir@cmpwn.com> | 2017-08-05 23:08:35 -0400 |
commit | 5bf61ca7edb658737f3ccbaed0a99f4779d329bb (patch) | |
tree | 0e29dfa81a30d6172c558d2b5df6d95f31a32b20 /include | |
parent | f1a069d50df7be30a0ae3cef763bb7337d88dbfc (diff) |
Check for multi backend before using it
Diffstat (limited to 'include')
-rw-r--r-- | include/wlr/backend/multi.h | 2 |
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 |