mirror of
https://github.com/hyprwm/Hyprland
synced 2024-11-08 13:45:59 +01:00
commit
718de0d9fa
1 changed files with 10 additions and 2 deletions
|
@ -820,9 +820,17 @@ void CHyprDwindleLayout::toggleWindowGroup(CWindow* pWindow) {
|
|||
|
||||
PWINDOW->m_bHidden = false;
|
||||
}
|
||||
|
||||
if (PHEAD->pPreviousGroupMember) {
|
||||
PHEAD->pPreviousGroupMember->pNextGroupMember = PHEAD->pNextGroupMember;
|
||||
PHEAD->pPreviousGroupMember = nullptr;
|
||||
}
|
||||
|
||||
if (PHEAD->pNextGroupMember) {
|
||||
PHEAD->pNextGroupMember->pPreviousGroupMember = PHEAD->pPreviousGroupMember;
|
||||
PHEAD->pNextGroupMember = nullptr;
|
||||
}
|
||||
|
||||
PHEAD->pPreviousGroupMember = nullptr;
|
||||
PHEAD->pNextGroupMember = nullptr;
|
||||
onWindowRemoved(PHEAD->pWindow);
|
||||
|
||||
for (auto& pw : toAddWindows) {
|
||||
|
|
Loading…
Reference in a new issue