mirror of
https://github.com/hyprwm/Hyprland
synced 2024-11-09 02:25:59 +01:00
style fix
This commit is contained in:
parent
f9d8b3096a
commit
00b16888bf
1 changed files with 6 additions and 8 deletions
|
@ -819,15 +819,13 @@ void CHyprDwindleLayout::toggleWindowGroup(CWindow* pWindow) {
|
|||
PWINDOW->m_bHidden = false;
|
||||
}
|
||||
|
||||
if(PHEAD->pPreviousGroupMember)
|
||||
{
|
||||
PHEAD->pPreviousGroupMember->pNextGroupMember = PHEAD->pNextGroupMember;
|
||||
PHEAD->pPreviousGroupMember = nullptr;
|
||||
if(PHEAD->pPreviousGroupMember){
|
||||
PHEAD->pPreviousGroupMember->pNextGroupMember = PHEAD->pNextGroupMember;
|
||||
PHEAD->pPreviousGroupMember = nullptr;
|
||||
}
|
||||
if(PHEAD->pNextGroupMember)
|
||||
{
|
||||
PHEAD->pNextGroupMember->pPreviousGroupMember = PHEAD->pPreviousGroupMember;
|
||||
PHEAD->pNextGroupMember = nullptr;
|
||||
if(PHEAD->pNextGroupMember){
|
||||
PHEAD->pNextGroupMember->pPreviousGroupMember = PHEAD->pPreviousGroupMember;
|
||||
PHEAD->pNextGroupMember = nullptr;
|
||||
}
|
||||
|
||||
onWindowRemoved(PHEAD->pWindow);
|
||||
|
|
Loading…
Reference in a new issue