fix dwindle no gaps when only when dissolving a group

This commit is contained in:
vaxerski 2022-09-06 18:12:41 +02:00
parent 4b7d28d2cb
commit 4a8274e5f0

View file

@ -484,6 +484,12 @@ void CHyprDwindleLayout::onWindowRemovedTiling(CWindow* pWindow) {
PNEXT->pWindow->m_bHidden = false; PNEXT->pWindow->m_bHidden = false;
m_lDwindleNodesData.remove(*PNODE); m_lDwindleNodesData.remove(*PNODE);
if (!PNEXT->isGroupMember()) {
// means we dissolved the group
recalculateMonitor(PNEXT->pWindow->m_iMonitorID);
}
return; return;
} }