From ab468de95cbbe29f634ff7053901916ed9806215 Mon Sep 17 00:00:00 2001 From: Vaxry Date: Thu, 4 Apr 2024 22:43:57 +0100 Subject: [PATCH] renderer: avoid double-rendering ls-es on fadingOut fixes #5295 --- src/render/Renderer.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/render/Renderer.cpp b/src/render/Renderer.cpp index aecd9524..9007554d 100644 --- a/src/render/Renderer.cpp +++ b/src/render/Renderer.cpp @@ -658,7 +658,8 @@ void CHyprRenderer::renderWindow(CWindow* pWindow, CMonitor* pMonitor, timespec* void CHyprRenderer::renderLayer(SLayerSurface* pLayer, CMonitor* pMonitor, timespec* time, bool popups) { if (pLayer->fadingOut) { - g_pHyprOpenGL->renderSnapshot(&pLayer); + if (!popups) + g_pHyprOpenGL->renderSnapshot(&pLayer); return; }