Skip to content

Commit

Permalink
lockgroups fix (#2636)
Browse files Browse the repository at this point in the history
  • Loading branch information
MightyPlaza authored Jul 3, 2023
1 parent 05047f6 commit 50755d2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/managers/KeybindManager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1207,12 +1207,13 @@ void CKeybindManager::toggleGroup(std::string args) {
w->m_sGroupData.head = false;
}

bool prevState = g_pKeybindManager->m_bGroupsLocked;
g_pKeybindManager->m_bGroupsLocked = true;
for (auto& w : members) {
g_pLayoutManager->getCurrentLayout()->onWindowCreated(w);
w->updateWindowDecos();
}
g_pKeybindManager->m_bGroupsLocked = false;
g_pKeybindManager->m_bGroupsLocked = prevState;
}
}

Expand Down

0 comments on commit 50755d2

Please sign in to comment.