aboutsummaryrefslogtreecommitdiff
path: root/backend/drm
diff options
context:
space:
mode:
authorTony Crisci <tony@dubstepdish.com>2017-12-19 18:25:46 -0500
committerTony Crisci <tony@dubstepdish.com>2017-12-19 18:25:46 -0500
commita937016e38efe3d7ad71540755833242059e6902 (patch)
tree3ac662b470154f1b496e22f456fc5772b6457411 /backend/drm
parent4e804ef40f46136d4fe84603a8236adc172260f8 (diff)
remove session from multibackend
Diffstat (limited to 'backend/drm')
-rw-r--r--backend/drm/backend.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/backend/drm/backend.c b/backend/drm/backend.c
index 6be5e5d5..112b2b61 100644
--- a/backend/drm/backend.c
+++ b/backend/drm/backend.c
@@ -174,3 +174,8 @@ error_fd:
free(drm);
return NULL;
}
+
+struct wlr_session *wlr_drm_backend_get_session(struct wlr_backend *backend) {
+ struct wlr_drm_backend *drm = (struct wlr_drm_backend *)backend;
+ return drm->session;
+}