window: recalculate layout on swallow in map

fixes #2848
This commit is contained in:
vaxerski 2023-09-16 18:40:54 +01:00
parent a53ec98b82
commit 2f01a18989

View file

@ -577,6 +577,8 @@ void Events::listener_mapWindow(void* owner, void* data) {
g_pLayoutManager->getCurrentLayout()->onWindowRemoved(finalFound);
finalFound->setHidden(true);
g_pLayoutManager->getCurrentLayout()->recalculateMonitor(PWINDOW->m_iMonitorID);
}
}
}