core: fix group members disappearing when you move the group to another monitor (#8237)

* fix group members disappearance when you move the group to another monitor

* remove repeated action
This commit is contained in:
Aqa-Ib 2024-10-26 01:22:37 +00:00 committed by GitHub
parent 3dd8db83f1
commit 0b29caf9ab
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -2795,11 +2795,11 @@ void CCompositor::moveWindowToWorkspaceSafe(PHLWINDOW pWindow, PHLWORKSPACE pWor
pWindow->updateToplevel(); pWindow->updateToplevel();
pWindow->updateDynamicRules(); pWindow->updateDynamicRules();
pWindow->uncacheWindowDecos(); pWindow->uncacheWindowDecos();
pWindow->updateGroupOutputs();
if (!pWindow->m_sGroupData.pNextWindow.expired()) { if (!pWindow->m_sGroupData.pNextWindow.expired()) {
PHLWINDOW next = pWindow->m_sGroupData.pNextWindow.lock(); PHLWINDOW next = pWindow->m_sGroupData.pNextWindow.lock();
while (next != pWindow) { while (next != pWindow) {
next->moveToWorkspace(pWorkspace);
next->updateToplevel(); next->updateToplevel();
next = next->m_sGroupData.pNextWindow.lock(); next = next->m_sGroupData.pNextWindow.lock();
} }