aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorVaxry <[email protected]>2022-08-17 12:35:03 +0200
committerGitHub <[email protected]>2022-08-17 12:35:03 +0200
commit4c1dba643e1c25d681d121adaf3ac992681be985 (patch)
tree81f5d130cab4dacccf5c38cdd6e804cbdb3f6fa9
parentcd9c85a1502d1862363ced48d181a6d097817ed8 (diff)
parent5a20573e91d145f9c31a58c5ac2801eda4607e7e (diff)
downloadHyprland-4c1dba643e1c25d681d121adaf3ac992681be985.tar.gz
Hyprland-4c1dba643e1c25d681d121adaf3ac992681be985.zip
Merge pull request #535 from Roger-Roger-debug/mainv0.10.2beta
Fix workspace animation showing on other monitors
-rw-r--r--src/render/Renderer.cpp3
1 files changed, 3 insertions, 0 deletions
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)