mirror of
https://github.com/labwc/labwc.git
synced 2025-11-02 09:01:47 -05:00
Chase wlroots: wlr_session refactor
Chases 41b7acbab78597e2eb0724e415ed94b910d113c1 backend: return wlr_session in wlr_backend_autocreate() call
This commit is contained in:
parent
fa849cc7e8
commit
46e3e29e26
4 changed files with 5 additions and 9 deletions
|
|
@ -18,13 +18,7 @@ static bool should_cancel_cycling_on_next_key_release;
|
|||
static void
|
||||
change_vt(struct server *server, unsigned int vt)
|
||||
{
|
||||
if (!wlr_backend_is_multi(server->backend)) {
|
||||
return;
|
||||
}
|
||||
struct wlr_session *session = wlr_backend_get_session(server->backend);
|
||||
if (session) {
|
||||
wlr_session_change_vt(session, vt);
|
||||
}
|
||||
wlr_session_change_vt(server->session, vt);
|
||||
}
|
||||
|
||||
bool
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue