mirror of
https://github.com/hyprwm/Hyprland.git
synced 2025-09-23 19:58:29 +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;
|
w->m_sGroupData.head = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
bool prevState = g_pKeybindManager->m_bGroupsLocked;
|
||||||
g_pKeybindManager->m_bGroupsLocked = true;
|
g_pKeybindManager->m_bGroupsLocked = true;
|
||||||
for (auto& w : members) {
|
for (auto& w : members) {
|
||||||
g_pLayoutManager->getCurrentLayout()->onWindowCreated(w);
|
g_pLayoutManager->getCurrentLayout()->onWindowCreated(w);
|
||||||
w->updateWindowDecos();
|
w->updateWindowDecos();
|
||||||
}
|
}
|
||||||
g_pKeybindManager->m_bGroupsLocked = false;
|
g_pKeybindManager->m_bGroupsLocked = prevState;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user