window: revert only set m_iMonitorMovedFrom, when moving to a different monitor

This reverts commit 089fdd1ea0.

Great commit.
This commit is contained in:
Vaxry
2025-01-25 19:37:33 +00:00
parent 9199a9746d
commit 45c3787e75
2 changed files with 3 additions and 3 deletions

View File

@@ -1867,6 +1867,7 @@ void CCompositor::updateWindowAnimatedDecorationValues(PHLWINDOW pWindow) {
}
// opacity
const auto PWORKSPACE = pWindow->m_pWorkspace;
if (pWindow->isEffectiveInternalFSMode(FSMODE_FULLSCREEN)) {
*pWindow->m_fActiveInactiveAlpha = pWindow->m_sWindowData.alphaFullscreen.valueOrDefault().applyAlpha(*PFULLSCREENALPHA);
} else {