mirror of
https://github.com/hyprwm/Hyprland
synced 2024-11-10 09:05:58 +01:00
commit
959557ecc3
1 changed files with 5 additions and 6 deletions
|
@ -821,15 +821,14 @@ void CHyprDwindleLayout::toggleWindowGroup(CWindow* pWindow) {
|
||||||
PWINDOW->m_bHidden = false;
|
PWINDOW->m_bHidden = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (PHEAD->pPreviousGroupMember) {
|
if (PHEAD->pPreviousGroupMember)
|
||||||
PHEAD->pPreviousGroupMember->pNextGroupMember = PHEAD->pNextGroupMember;
|
PHEAD->pPreviousGroupMember->pNextGroupMember = PHEAD->pNextGroupMember;
|
||||||
PHEAD->pPreviousGroupMember = nullptr;
|
|
||||||
}
|
|
||||||
|
|
||||||
if (PHEAD->pNextGroupMember) {
|
if (PHEAD->pNextGroupMember)
|
||||||
PHEAD->pNextGroupMember->pPreviousGroupMember = PHEAD->pPreviousGroupMember;
|
PHEAD->pNextGroupMember->pPreviousGroupMember = PHEAD->pPreviousGroupMember;
|
||||||
|
|
||||||
|
PHEAD->pPreviousGroupMember = nullptr;
|
||||||
PHEAD->pNextGroupMember = nullptr;
|
PHEAD->pNextGroupMember = nullptr;
|
||||||
}
|
|
||||||
|
|
||||||
onWindowRemoved(PHEAD->pWindow);
|
onWindowRemoved(PHEAD->pWindow);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue