mirror of
https://github.com/hyprwm/Hyprland
synced 2024-11-23 04:25:59 +01:00
renderer: dont render fullscreen special on wrong monitor (#5249)
This commit is contained in:
parent
89543e8e3c
commit
8001b96bb5
1 changed files with 2 additions and 1 deletions
|
@ -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)
|
||||||
|
|
Loading…
Reference in a new issue