fix maximized windows not hiding tiled

This commit is contained in:
vaxerski 2022-10-19 15:17:26 +01:00
parent 98a32f5e52
commit bf9d31ce49

View file

@ -1652,7 +1652,7 @@ void CCompositor::setWindowFullscreen(CWindow* pWindow, bool on, eFullscreenMode
if (w->m_iWorkspaceID == pWindow->m_iWorkspaceID) {
w->m_bCreatedOverFullscreen = false;
if (w.get() != pWindow && !w->m_bFadingOut && !w->m_bPinned)
w->m_fAlpha = pWindow->m_bIsFullscreen && mode == FULLSCREEN_FULL ? 0.f : 255.f;
w->m_fAlpha = pWindow->m_bIsFullscreen ? 0.f : 255.f;
}
}