diff options
author | Scott Anderson <ascent12@hotmail.com> | 2017-08-06 13:37:49 +1200 |
---|---|---|
committer | Scott Anderson <ascent12@hotmail.com> | 2017-08-06 13:37:49 +1200 |
commit | 4d4da18437849df850b4ae199fbffb54d31c86b4 (patch) | |
tree | 73f383203326b11111ed9f01562fcbd9bb12dcc4 /backend | |
parent | 3373ec5fc8fcb931c03bef256ed50af63fa1896f (diff) |
Fixed VT switching
Diffstat (limited to 'backend')
-rw-r--r-- | backend/multi/backend.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/backend/multi/backend.c b/backend/multi/backend.c index 8026e970..a5913f5d 100644 --- a/backend/multi/backend.c +++ b/backend/multi/backend.c @@ -113,3 +113,11 @@ void wlr_multi_backend_add(struct wlr_backend *multi, list_add(multi->state->backends, sub); } + +struct wlr_session *wlr_multi_get_session(struct wlr_backend *base) { + if (base->impl != &backend_impl) + return NULL; + + struct wlr_backend_state *multi = base->state; + return multi->session; +} |