renderer: avoid rendering floating windows twice with special

fixes #3887
This commit is contained in:
Vaxry 2023-11-18 19:53:45 +00:00
parent 8b57a1973e
commit 89f6457a99

View file

@ -295,6 +295,9 @@ void CHyprRenderer::renderWorkspaceWindows(CMonitor* pMonitor, CWorkspace* pWork
if (!shouldRenderWindow(w.get(), pMonitor, pWorkspace))
continue;
if (pWorkspace->m_bIsSpecialWorkspace && w->m_iWorkspaceID != pWorkspace->m_iID)
continue;
// render the bad boy
renderWindow(w.get(), pMonitor, time, true, RENDER_PASS_ALL);
}