summaryrefslogtreecommitdiff
path: root/src/managers/KeybindManager.cpp
diff options
context:
space:
mode:
authorvaxerski <vaxry@vaxry.net>2024-01-19 16:20:22 +0100
committervaxerski <vaxry@vaxry.net>2024-01-19 16:20:30 +0100
commit5eeec8860e2dc8ff80dda26243778b5ecc923ca2 (patch)
treee8dd7245da969dfdf2ae1acd07ad9cca0816b7b4 /src/managers/KeybindManager.cpp
parent9f20a15955697b0f52740c1e0180acdafa071f79 (diff)
core: improve cleanup logic
Diffstat (limited to 'src/managers/KeybindManager.cpp')
-rw-r--r--src/managers/KeybindManager.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/managers/KeybindManager.cpp b/src/managers/KeybindManager.cpp
index 1fc8a679..ead94ed9 100644
--- a/src/managers/KeybindManager.cpp
+++ b/src/managers/KeybindManager.cpp
@@ -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) {