mirror of
https://github.com/hyprwm/Hyprland
synced 2024-12-22 08:09:50 +01:00
internal: properly set monitor props on special windows
This commit is contained in:
parent
ce0f248d20
commit
871ab24c6e
1 changed files with 7 additions and 0 deletions
|
@ -589,6 +589,13 @@ void CMonitor::setSpecialWorkspace(CWorkspace* const pWorkspace) {
|
|||
specialWorkspaceID = pWorkspace->m_iID;
|
||||
pWorkspace->startAnim(true, true);
|
||||
|
||||
for (auto& w : g_pCompositor->m_vWindows) {
|
||||
if (w->m_iWorkspaceID == pWorkspace->m_iID) {
|
||||
w->m_iMonitorID = ID;
|
||||
w->updateSurfaceOutputs();
|
||||
}
|
||||
}
|
||||
|
||||
g_pLayoutManager->getCurrentLayout()->recalculateMonitor(ID);
|
||||
|
||||
if (const auto PLAST = pWorkspace->getLastFocusedWindow(); PLAST)
|
||||
|
|
Loading…
Reference in a new issue