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.cpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/layout/MasterLayout.cpp b/src/layout/MasterLayout.cpp
index 8aa15e42..4773147f 100644
--- a/src/layout/MasterLayout.cpp
+++ b/src/layout/MasterLayout.cpp
@@ -945,6 +945,15 @@ void CHyprMasterLayout::moveWindowTo(PHLWINDOW pWindow, const std::string& dir,
if (silent)
g_pCompositor->focusWindow(PWINDOW2);
}
+
+ pWindow->updateGroupOutputs();
+ if (!pWindow->m_sGroupData.pNextWindow.expired()) {
+ PHLWINDOW next = pWindow->m_sGroupData.pNextWindow.lock();
+ while (next != pWindow) {
+ next->updateToplevel();
+ next = next->m_sGroupData.pNextWindow.lock();
+ }
+ }
}
void CHyprMasterLayout::switchWindows(PHLWINDOW pWindow, PHLWINDOW pWindow2) {