From fd6116c0cd2341a75b06a21f7273d44e69153700 Mon Sep 17 00:00:00 2001 From: vaxerski Date: Fri, 23 Sep 2022 17:01:27 +0100 Subject: [PATCH] style --- src/layout/DwindleLayout.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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; }