mirror of
https://github.com/hyprwm/Hyprland
synced 2024-11-10 09:45:58 +01:00
parent
e5d143b238
commit
f9d8b3096a
1 changed files with 11 additions and 2 deletions
|
@ -819,8 +819,17 @@ void CHyprDwindleLayout::toggleWindowGroup(CWindow* pWindow) {
|
||||||
PWINDOW->m_bHidden = false;
|
PWINDOW->m_bHidden = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
PHEAD->pPreviousGroupMember = nullptr;
|
if(PHEAD->pPreviousGroupMember)
|
||||||
PHEAD->pNextGroupMember = nullptr;
|
{
|
||||||
|
PHEAD->pPreviousGroupMember->pNextGroupMember = PHEAD->pNextGroupMember;
|
||||||
|
PHEAD->pPreviousGroupMember = nullptr;
|
||||||
|
}
|
||||||
|
if(PHEAD->pNextGroupMember)
|
||||||
|
{
|
||||||
|
PHEAD->pNextGroupMember->pPreviousGroupMember = PHEAD->pPreviousGroupMember;
|
||||||
|
PHEAD->pNextGroupMember = nullptr;
|
||||||
|
}
|
||||||
|
|
||||||
onWindowRemoved(PHEAD->pWindow);
|
onWindowRemoved(PHEAD->pWindow);
|
||||||
|
|
||||||
for (auto& pw : toAddWindows) {
|
for (auto& pw : toAddWindows) {
|
||||||
|
|
Loading…
Reference in a new issue