From 95782de966ec9e182d49b2f032b74a1101f423e8 Mon Sep 17 00:00:00 2001 From: Vaxry Date: Tue, 25 Jun 2024 20:04:02 +0200 Subject: [PATCH] renderer: don't use the surface counter in popup iterations fixes #6663 --- src/render/Renderer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/render/Renderer.cpp b/src/render/Renderer.cpp index 4fc751ff..3ea5197e 100644 --- a/src/render/Renderer.cpp +++ b/src/render/Renderer.cpp @@ -212,7 +212,7 @@ static void renderSurface(SP surface, int x, int y, void* da // FIXME: This is wrong and will bug the blur out as shit if the first surface // is a subsurface that does NOT cover the entire frame. In such cases, we probably should fall back // to what we do for misaligned surfaces (blur the entire thing and then render shit without blur) - if (RDATA->surfaceCounter == 0) { + if (RDATA->surfaceCounter == 0 && !RDATA->popup) { if (RDATA->blur) g_pHyprOpenGL->renderTextureWithBlur(TEXTURE, &windowBox, ALPHA, surface, rounding, RDATA->blockBlurOptimization, RDATA->fadeAlpha); else