core: always use goal size to send to clients

This commit is contained in:
vaxerski
2025-01-10 14:09:09 +01:00
parent f9c37ca43b
commit 8475a8ef99
2 changed files with 3 additions and 3 deletions

View File

@@ -444,7 +444,7 @@ void CWindow::moveToWorkspace(PHLWORKSPACE pWorkspace) {
}
// update xwayland coords
g_pXWaylandManager->setWindowSize(m_pSelf.lock(), m_vRealSize->value());
g_pXWaylandManager->setWindowSize(m_pSelf.lock(), m_vRealSize->goal());
if (OLDWORKSPACE && g_pCompositor->isWorkspaceSpecial(OLDWORKSPACE->m_iID) && OLDWORKSPACE->getWindows() == 0 && *PCLOSEONLASTSPECIAL) {
if (const auto PMONITOR = OLDWORKSPACE->m_pMonitor.lock(); PMONITOR)