renderer: dont render fullscreen special on wrong monitor (#5249)

This commit is contained in:
thejch 2024-03-24 18:41:56 -07:00 committed by GitHub
parent 89543e8e3c
commit 8001b96bb5
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -328,6 +328,7 @@ void CHyprRenderer::renderWorkspaceWindowsFullscreen(CMonitor* pMonitor, CWorksp
if (w->m_iMonitorID == pWorkspace->m_iMonitorID && pWorkspace->m_bIsSpecialWorkspace != g_pCompositor->isWorkspaceSpecial(w->m_iWorkspaceID)) if (w->m_iMonitorID == pWorkspace->m_iMonitorID && pWorkspace->m_bIsSpecialWorkspace != g_pCompositor->isWorkspaceSpecial(w->m_iWorkspaceID))
continue; continue;
if (shouldRenderWindow(w.get(), pMonitor, pWorkspace))
renderWindow(w.get(), pMonitor, time, pWorkspace->m_efFullscreenMode != FULLSCREEN_FULL, RENDER_PASS_ALL); renderWindow(w.get(), pMonitor, time, pWorkspace->m_efFullscreenMode != FULLSCREEN_FULL, RENDER_PASS_ALL);
if (w->m_iWorkspaceID != pWorkspace->m_iID) if (w->m_iWorkspaceID != pWorkspace->m_iID)