diff --git a/src/layout/DwindleLayout.cpp b/src/layout/DwindleLayout.cpp index 217ac9ae..6d66fb14 100644 --- a/src/layout/DwindleLayout.cpp +++ b/src/layout/DwindleLayout.cpp @@ -484,6 +484,12 @@ void CHyprDwindleLayout::onWindowRemovedTiling(CWindow* pWindow) { PNEXT->pWindow->m_bHidden = false; m_lDwindleNodesData.remove(*PNODE); + + if (!PNEXT->isGroupMember()) { + // means we dissolved the group + recalculateMonitor(PNEXT->pWindow->m_iMonitorID); + } + return; }