mirror of
https://github.com/hyprwm/Hyprland
synced 2024-11-26 14:05:58 +01:00
lockgroups fix (#2636)
This commit is contained in:
parent
05047f60f4
commit
50755d26d4
1 changed files with 2 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue