renderer: allow rendering multiple fullscreen windows in third fs pass

something might be fading out, sliding out, etc. We handle it before, why not use it?

fixes #4076
This commit is contained in:
Vaxry 2024-01-09 20:42:07 +01:00
parent 71166ef40b
commit b240704bee

View file

@ -290,11 +290,14 @@ void CHyprRenderer::renderWorkspaceWindowsFullscreen(CMonitor* pMonitor, CWorksp
continue;
}
if (w->m_iWorkspaceID != pMonitor->activeWorkspace || !w->m_bIsFullscreen)
if (!w->m_bIsFullscreen)
continue;
renderWindow(w.get(), pMonitor, time, pWorkspace->m_efFullscreenMode != FULLSCREEN_FULL, RENDER_PASS_ALL);
if (w->m_iWorkspaceID != pWorkspace->m_iID)
continue;
pWorkspaceWindow = w.get();
}