mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-11-14 06:59:43 -05:00
Changed ownership of wlr_session to the multi backend.
Currently breaks VT switching for examples.
This commit is contained in:
parent
41b98f21e5
commit
ae4478e17f
7 changed files with 59 additions and 30 deletions
|
|
@ -30,6 +30,10 @@ struct wlr_session *wlr_session_start(struct wl_display *disp) {
|
|||
}
|
||||
|
||||
void wlr_session_finish(struct wlr_session *session) {
|
||||
if (!session) {
|
||||
return;
|
||||
}
|
||||
|
||||
session->impl->finish(session);
|
||||
};
|
||||
|
||||
|
|
@ -42,5 +46,9 @@ void wlr_session_close_file(struct wlr_session *session, int fd) {
|
|||
}
|
||||
|
||||
bool wlr_session_change_vt(struct wlr_session *session, unsigned vt) {
|
||||
if (!session) {
|
||||
return false;
|
||||
}
|
||||
|
||||
return session->impl->change_vt(session, vt);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue