aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authormemchr <[email protected]>2023-09-15 11:06:59 +0000
committerGitHub <[email protected]>2023-09-15 12:06:59 +0100
commit56adec7c1a49c079f320ba3c0c5ae3948946a9e5 (patch)
tree3e65e3e4f32dd41271fb9f1195868fd10356895a
parent824290c7917da6f43852520b9d818bc63a1dec38 (diff)
downloadHyprland-56adec7c1a49c079f320ba3c0c5ae3948946a9e5.tar.gz
Hyprland-56adec7c1a49c079f320ba3c0c5ae3948946a9e5.zip
socket2: emit lockgroups event (#3317)
-rw-r--r--src/managers/KeybindManager.cpp2
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) {