diff options
author | Drew DeVault <sir@cmpwn.com> | 2017-08-05 23:11:26 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-08-05 23:11:26 -0400 |
commit | f95c02eebe54785a4f64332f7e574dddff7e3669 (patch) | |
tree | 0e29dfa81a30d6172c558d2b5df6d95f31a32b20 /include/wlr/backend/multi.h | |
parent | 41b98f21e50a6d57ba4b7fd8ba90066bba614e6a (diff) | |
parent | 5bf61ca7edb658737f3ccbaed0a99f4779d329bb (diff) |
Merge pull request #29 from ascent12/session
Moved session into backend/session and changed ownership
Diffstat (limited to 'include/wlr/backend/multi.h')
-rw-r--r-- | include/wlr/backend/multi.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/include/wlr/backend/multi.h b/include/wlr/backend/multi.h index a07ca770..e8e46bed 100644 --- a/include/wlr/backend/multi.h +++ b/include/wlr/backend/multi.h @@ -2,9 +2,16 @@ #define _WLR_BACKEND_MULTI_H #include <wlr/backend.h> +#include <wlr/backend/udev.h> +#include <wlr/backend/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); +bool wlr_backend_is_multi(struct wlr_backend *backend); + +struct wlr_session *wlr_multi_get_session(struct wlr_backend *base); + #endif |