core: update groups on movewindow (#9183)

This commit is contained in:
user111111111111111111111111111111111 2025-01-26 19:06:50 +00:00 committed by GitHub
parent 6bd6c5512e
commit 3b207d29bd
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 18 additions and 0 deletions

View file

@ -847,6 +847,15 @@ void CHyprDwindleLayout::moveWindowTo(PHLWINDOW pWindow, const std::string& dir,
pWindow->m_pMonitor = PMONITORFOCAL;
}
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();
}
}
onWindowCreatedTiling(pWindow);
m_vOverrideFocalPoint.reset();