Skip to content

Commit

Permalink
renderer: allow rendering multiple fullscreen windows in third fs pass
Browse files Browse the repository at this point in the history
something might be fading out, sliding out, etc. We handle it before, why not use it?

fixes #4076
  • Loading branch information
vaxerski committed Jan 9, 2024
1 parent 71166ef commit b240704
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/render/Renderer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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();
}

Expand Down

0 comments on commit b240704

Please sign in to comment.