mirror of
https://github.com/hyprwm/Hyprland.git
synced 2024-09-11 21:27:20 +03:00
socket2: emit lockgroups event (#3317)
This commit is contained in:
parent
824290c791
commit
56adec7c1a
@ -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 New Issue
Block a user