diff options
author | vaxerski <[email protected]> | 2022-05-28 18:52:22 +0200 |
---|---|---|
committer | vaxerski <[email protected]> | 2022-05-28 18:52:22 +0200 |
commit | 10a9325a6a5162a2997014afb3b1184823d45b08 (patch) | |
tree | 23a0b6b282b4977970e0c9b05dd2d7dab3390c1f | |
parent | e4d494aed4494b31adfe893453d1644a6ccb6439 (diff) | |
download | Hyprland-10a9325a6a5162a2997014afb3b1184823d45b08.tar.gz Hyprland-10a9325a6a5162a2997014afb3b1184823d45b08.zip |
Fix buggy slide out on multimon
-rw-r--r-- | src/render/Renderer.cpp | 3 |
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; } |