diff options
| author | user111111111111111111111111111111111 <192911676+user111111111111111111111111111111111@users.noreply.github.com> | 2025-01-26 19:06:50 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-01-26 20:06:50 +0100 |
| commit | 3b207d29bdaf4c718a8878456bb17f2a67f2d9f4 (patch) | |
| tree | 55585343583ccc82589530ce0efa9a8c664a7d45 /src/layout/MasterLayout.cpp | |
| parent | 6bd6c5512e1e413013044257e54581c237ca6fa0 (diff) | |
core: update groups on movewindow (#9183)
Diffstat (limited to 'src/layout/MasterLayout.cpp')
| -rw-r--r-- | src/layout/MasterLayout.cpp | 9 |
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) { |
