style fix

This commit is contained in:
Dickby 2022-09-23 17:59:33 +02:00 committed by GitHub
parent f9d8b3096a
commit 00b16888bf
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -819,13 +819,11 @@ 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;
}