mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-11-01 22:58:38 -04:00
Fixed VT switching
This commit is contained in:
parent
3373ec5fc8
commit
4d4da18437
3 changed files with 19 additions and 2 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue