core: improve cleanup logic

This commit is contained in:
vaxerski
2024-01-19 16:20:22 +01:00
parent 9f20a15955
commit 5eeec8860e
8 changed files with 95 additions and 23 deletions

View File

@@ -1455,7 +1455,7 @@ void CKeybindManager::renameWorkspace(std::string args) {
}
void CKeybindManager::exitHyprland(std::string argz) {
g_pCompositor->cleanup();
g_pInputManager->m_bExitTriggered = true;
}
void CKeybindManager::moveCurrentWorkspaceToMonitor(std::string args) {