summaryrefslogtreecommitdiff
path: root/src/layout/MasterLayout.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/layout/MasterLayout.cpp')
-rw-r--r--src/layout/MasterLayout.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/layout/MasterLayout.cpp b/src/layout/MasterLayout.cpp
index 5b2284c5..820e52c6 100644
--- a/src/layout/MasterLayout.cpp
+++ b/src/layout/MasterLayout.cpp
@@ -230,6 +230,7 @@ void CHyprMasterLayout::onWindowCreatedTiling(PHLWINDOW pWindow, eDirection dire
// recalc
recalculateMonitor(pWindow->monitorID());
+ pWindow->m_workspace->updateWindows();
}
void CHyprMasterLayout::onWindowRemovedTiling(PHLWINDOW pWindow) {
@@ -280,6 +281,7 @@ void CHyprMasterLayout::onWindowRemovedTiling(PHLWINDOW pWindow) {
}
}
recalculateMonitor(pWindow->monitorID());
+ pWindow->m_workspace->updateWindows();
}
void CHyprMasterLayout::recalculateMonitor(const MONITORID& monid) {