mirror of
https://github.com/hyprwm/Hyprland.git
synced 2025-08-16 12:33:48 -07:00
core: update groups on movewindow (#9183)
This commit is contained in:
committed by
GitHub
parent
6bd6c5512e
commit
3b207d29bd
@@ -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) {
|
||||
|
Reference in New Issue
Block a user