mirror of
https://github.com/hyprwm/Hyprland
synced 2024-12-23 11:09:49 +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;
|
||||
}
|
||||
|
||||
if (PHEAD->pPreviousGroupMember) {
|
||||
if (PHEAD->pPreviousGroupMember)
|
||||
PHEAD->pPreviousGroupMember->pNextGroupMember = PHEAD->pNextGroupMember;
|
||||
PHEAD->pPreviousGroupMember = nullptr;
|
||||
}
|
||||
|
||||
if (PHEAD->pNextGroupMember) {
|
||||
if (PHEAD->pNextGroupMember)
|
||||
PHEAD->pNextGroupMember->pPreviousGroupMember = PHEAD->pPreviousGroupMember;
|
||||
PHEAD->pNextGroupMember = nullptr;
|
||||
}
|
||||
|
||||
PHEAD->pPreviousGroupMember = nullptr;
|
||||
PHEAD->pNextGroupMember = nullptr;
|
||||
|
||||
onWindowRemoved(PHEAD->pWindow);
|
||||
|
||||
|
|
Loading…
Reference in a new issue