mirror of
https://github.com/hyprwm/Hyprland
synced 2024-12-26 19:09:49 +01:00
fix fractional scale update in moveWorkspaceToMonitor
This commit is contained in:
parent
10db5a4fdb
commit
6612197a38
1 changed files with 2 additions and 0 deletions
|
@ -1929,6 +1929,8 @@ void CCompositor::moveWorkspaceToMonitor(CWorkspace* pWorkspace, CMonitor* pMoni
|
|||
}
|
||||
|
||||
w->updateToplevel();
|
||||
|
||||
g_pProtocolManager->m_pFractionalScaleProtocolManager->setPreferredScaleForSurface(w->m_pWLSurface.wlr(), pMonitor->scale);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue