From 5a20573e91d145f9c31a58c5ac2801eda4607e7e Mon Sep 17 00:00:00 2001 From: Roger Roger Date: Wed, 17 Aug 2022 12:12:16 +0200 Subject: [PATCH] Fix workspace animation showing on other monitors --- src/render/Renderer.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/render/Renderer.cpp b/src/render/Renderer.cpp index 9d442be9..cc21c1bb 100644 --- a/src/render/Renderer.cpp +++ b/src/render/Renderer.cpp @@ -126,6 +126,9 @@ void CHyprRenderer::renderWorkspaceWithFullscreenWindow(CMonitor* pMonitor, CWor if (w->m_iWorkspaceID != pWorkspace->m_iID || !w->m_bIsFullscreen){ if (!(PWORKSPACE && (PWORKSPACE->m_vRenderOffset.isBeingAnimated() || PWORKSPACE->m_fAlpha.isBeingAnimated()))) continue; + + if (w->m_iMonitorID != pMonitor->ID) + continue; } if (w->m_iWorkspaceID == pMonitor->activeWorkspace && !w->m_bIsFullscreen)