fix fractional scale update in moveWorkspaceToMonitor

This commit is contained in:
Franz Berger 2023-06-05 22:58:30 +02:00
parent 10db5a4fdb
commit 6612197a38

View file

@ -1929,6 +1929,8 @@ void CCompositor::moveWorkspaceToMonitor(CWorkspace* pWorkspace, CMonitor* pMoni
}
w->updateToplevel();
g_pProtocolManager->m_pFractionalScaleProtocolManager->setPreferredScaleForSurface(w->m_pWLSurface.wlr(), pMonitor->scale);
}
}