diff options
-rw-r--r-- | src/managers/KeybindManager.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/managers/KeybindManager.cpp b/src/managers/KeybindManager.cpp index c0d06b79..698758f3 100644 --- a/src/managers/KeybindManager.cpp +++ b/src/managers/KeybindManager.cpp @@ -1925,6 +1925,8 @@ void CKeybindManager::lockGroups(std::string args) { g_pKeybindManager->m_bGroupsLocked = !g_pKeybindManager->m_bGroupsLocked; else g_pKeybindManager->m_bGroupsLocked = false; + + g_pEventManager->postEvent(SHyprIPCEvent{"lockgroups", g_pKeybindManager->m_bGroupsLocked ? "1" : "0"}); } void CKeybindManager::lockActiveGroup(std::string args) { |