From 56adec7c1a49c079f320ba3c0c5ae3948946a9e5 Mon Sep 17 00:00:00 2001 From: memchr <118117622+memchr@users.noreply.github.com> Date: Fri, 15 Sep 2023 11:06:59 +0000 Subject: socket2: emit lockgroups event (#3317) --- src/managers/KeybindManager.cpp | 2 ++ 1 file changed, 2 insertions(+) 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) { -- cgit v1.2.3