diff options
author | vaxerski <[email protected]> | 2024-01-09 20:42:07 +0100 |
---|---|---|
committer | vaxerski <[email protected]> | 2024-01-09 20:42:07 +0100 |
commit | b240704bee1d04eacc27654ea875cf6f15033c7c (patch) | |
tree | 2528d2a3431e710aba09994ce3e1e2666cc3a6ea | |
parent | 71166ef40b5f7640fcddb1951d84f0f086e198d2 (diff) | |
download | Hyprland-b240704bee1d04eacc27654ea875cf6f15033c7c.tar.gz Hyprland-b240704bee1d04eacc27654ea875cf6f15033c7c.zip |
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
-rw-r--r-- | src/render/Renderer.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/render/Renderer.cpp b/src/render/Renderer.cpp index 22613b4f..b7776ee6 100644 --- a/src/render/Renderer.cpp +++ b/src/render/Renderer.cpp @@ -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(); } |