aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorvaxerski <[email protected]>2022-05-28 18:52:22 +0200
committervaxerski <[email protected]>2022-05-28 18:52:22 +0200
commit10a9325a6a5162a2997014afb3b1184823d45b08 (patch)
tree23a0b6b282b4977970e0c9b05dd2d7dab3390c1f
parente4d494aed4494b31adfe893453d1644a6ccb6439 (diff)
downloadHyprland-10a9325a6a5162a2997014afb3b1184823d45b08.tar.gz
Hyprland-10a9325a6a5162a2997014afb3b1184823d45b08.zip
Fix buggy slide out on multimon
-rw-r--r--src/render/Renderer.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/render/Renderer.cpp b/src/render/Renderer.cpp
index 1a3512f3..fc3f5702 100644
--- a/src/render/Renderer.cpp
+++ b/src/render/Renderer.cpp
@@ -87,7 +87,8 @@ void CHyprRenderer::renderWindow(CWindow* pWindow, SMonitor* pMonitor, timespec*
return;
if (pWindow->m_bFadingOut) {
- g_pHyprOpenGL->renderSnapshot(&pWindow);
+ if (pMonitor->ID == pWindow->m_iMonitorID) // TODO: fix this
+ g_pHyprOpenGL->renderSnapshot(&pWindow);
return;
}