From 029d4fb8059cade499516b6bc0324a5ddbb7530c Mon Sep 17 00:00:00 2001 From: Vaxry Date: Tue, 25 Jun 2024 13:39:45 +0200 Subject: [PATCH] restore vt switching --- src/managers/KeybindManager.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/managers/KeybindManager.cpp b/src/managers/KeybindManager.cpp index 9ceb4ec4..69b089d0 100644 --- a/src/managers/KeybindManager.cpp +++ b/src/managers/KeybindManager.cpp @@ -810,9 +810,7 @@ bool CKeybindManager::handleVT(xkb_keysym_t keysym) { Debug::log(LOG, "Switching from VT {} to VT {}", ttynum, TTY); - // FIXME: - //wlr_session_change_vt(g_pCompositor->m_sWLRSession, TTY); - return true; + g_pCompositor->m_pAqBackend->session->switchVT(TTY); } return true;