mirror of
https://github.com/hyprwm/Hyprland.git
synced 2025-09-21 02:38:31 +00:00
lockgroups fix (#2636)
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user