This commit is contained in:
Vaxry 2022-09-23 17:01:27 +01:00
parent 00b16888bf
commit fd6116c0cd

View file

@ -819,11 +819,12 @@ 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; PHEAD->pPreviousGroupMember = nullptr;
} }
if(PHEAD->pNextGroupMember){
if (PHEAD->pNextGroupMember) {
PHEAD->pNextGroupMember->pPreviousGroupMember = PHEAD->pPreviousGroupMember; PHEAD->pNextGroupMember->pPreviousGroupMember = PHEAD->pPreviousGroupMember;
PHEAD->pNextGroupMember = nullptr; PHEAD->pNextGroupMember = nullptr;
} }