mirror of
https://github.com/hyprwm/Hyprland.git
synced 2025-08-06 15:11:57 -07:00
compositor: move group members properly in moveWindowToWorkspaceSafe
This commit is contained in:
@@ -2387,6 +2387,15 @@ void CCompositor::moveWindowToWorkspaceSafe(CWindow* pWindow, CWorkspace* pWorks
|
|||||||
pWindow->m_vRealPosition = POSTOMON + PWORKSPACEMONITOR->vecPosition;
|
pWindow->m_vRealPosition = POSTOMON + PWORKSPACEMONITOR->vecPosition;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (pWindow->m_sGroupData.pNextWindow) {
|
||||||
|
CWindow* next = pWindow->m_sGroupData.pNextWindow;
|
||||||
|
while (next != pWindow) {
|
||||||
|
next->moveToWorkspace(pWorkspace->m_iID);
|
||||||
|
next->updateToplevel();
|
||||||
|
next = next->m_sGroupData.pNextWindow;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
if (FULLSCREEN)
|
if (FULLSCREEN)
|
||||||
setWindowFullscreen(pWindow, true, FULLSCREENMODE);
|
setWindowFullscreen(pWindow, true, FULLSCREENMODE);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user