diff options
author | Tony Crisci <tony@dubstepdish.com> | 2017-12-21 18:40:54 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-12-21 18:40:54 -0500 |
commit | 0a370c529806077a11638e7fa856d5fbb539496b (patch) | |
tree | b00eb27649a61035af82b735673e6fd780862f9b /backend/drm | |
parent | 1a96ce0c53c84295d33b143e1b6cf02cb7017d50 (diff) | |
parent | 4cec7f54e24a58fd9756395ce64a5bd73f412c9e (diff) |
Merge pull request #506 from acrisci/multi-backend-fixes
[wip] multibackend fixes
Diffstat (limited to 'backend/drm')
-rw-r--r-- | backend/drm/backend.c | 5 |
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; +} |