aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/backend/drm/drm.h2
-rw-r--r--include/backend/multi.h1
-rw-r--r--include/wlr/backend/multi.h4
3 files changed, 4 insertions, 3 deletions
diff --git a/include/backend/drm/drm.h b/include/backend/drm/drm.h
index 278c387c..72671f45 100644
--- a/include/backend/drm/drm.h
+++ b/include/backend/drm/drm.h
@@ -143,4 +143,6 @@ int wlr_drm_event(int fd, uint32_t mask, void *data);
void wlr_drm_connector_start_renderer(struct wlr_drm_connector *conn);
+struct wlr_session *wlr_drm_backend_get_session(struct wlr_backend *backend);
+
#endif
diff --git a/include/backend/multi.h b/include/backend/multi.h
index 2798048d..f0e50fc0 100644
--- a/include/backend/multi.h
+++ b/include/backend/multi.h
@@ -9,7 +9,6 @@
struct wlr_multi_backend {
struct wlr_backend backend;
- struct wlr_session *session;
struct wl_list backends;
struct wl_listener display_destroy;
diff --git a/include/wlr/backend/multi.h b/include/wlr/backend/multi.h
index e56b07b1..fc53f369 100644
--- a/include/wlr/backend/multi.h
+++ b/include/wlr/backend/multi.h
@@ -4,8 +4,8 @@
#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);