fix xwaylabnd too, stuff

This commit is contained in:
vaxerski
2022-03-19 20:56:19 +01:00
parent cf76b90606
commit 1a298257c9
7 changed files with 38 additions and 5 deletions

View File

@@ -247,3 +247,10 @@ void CHyprDwindleLayout::onWindowRemoved(CWindow* pWindow) {
m_lDwindleNodesData.remove(*PPARENT);
m_lDwindleNodesData.remove(*PNODE);
}
void CHyprDwindleLayout::recalculateMonitor(const int& monid) {
const auto TOPNODE = getMasterNodeOnMonitor(monid);
if (TOPNODE)
TOPNODE->recalcSizePosRecursive();
}