Fixed VT switching

This commit is contained in:
Scott Anderson 2017-08-06 13:37:49 +12:00
parent 3373ec5fc8
commit 4d4da18437
3 changed files with 19 additions and 2 deletions

View file

@ -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;
}