mirror of
https://github.com/hyprwm/Hyprland
synced 2024-12-23 09:29:49 +01:00
socket2: emit lockgroups event (#3317)
This commit is contained in:
parent
824290c791
commit
56adec7c1a
1 changed files with 2 additions and 0 deletions
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue