diff --git a/src/layout/DwindleLayout.cpp b/src/layout/DwindleLayout.cpp index 31558cd5..fbd8acd4 100644 --- a/src/layout/DwindleLayout.cpp +++ b/src/layout/DwindleLayout.cpp @@ -819,11 +819,12 @@ 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; }