Skip to content

Commit 50755d2

Browse files
authored
lockgroups fix (#2636)
1 parent 05047f6 commit 50755d2

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/managers/KeybindManager.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1207,12 +1207,13 @@ void CKeybindManager::toggleGroup(std::string args) {
12071207
w->m_sGroupData.head = false;
12081208
}
12091209

1210+
bool prevState = g_pKeybindManager->m_bGroupsLocked;
12101211
g_pKeybindManager->m_bGroupsLocked = true;
12111212
for (auto& w : members) {
12121213
g_pLayoutManager->getCurrentLayout()->onWindowCreated(w);
12131214
w->updateWindowDecos();
12141215
}
1215-
g_pKeybindManager->m_bGroupsLocked = false;
1216+
g_pKeybindManager->m_bGroupsLocked = prevState;
12161217
}
12171218
}
12181219

0 commit comments

Comments
 (0)