core: update groups on movewindow (#9183)
This commit is contained in:
parent
6bd6c5512e
commit
3b207d29bd
2 changed files with 18 additions and 0 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue