From 0736f9aef3715a7e76a8f9edd96adcfaed22e5b0 Mon Sep 17 00:00:00 2001 From: taj-ny <79316397+taj-ny@users.noreply.github.com> Date: Thu, 2 Jan 2025 16:54:58 +0100 Subject: [PATCH] static-blur: don't make window opaque when opacity affects blur --- src/blur.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/blur.cpp b/src/blur.cpp index 02a2f5874..8771028e9 100644 --- a/src/blur.cpp +++ b/src/blur.cpp @@ -538,7 +538,9 @@ void BlurEffect::prePaintWindow(EffectWindow *w, WindowPrePaintData &data, std:: bool staticBlur = hasStaticBlur(w) && m_staticBlurTextures.contains(m_currentScreen) && !blurArea.isEmpty(); if (staticBlur) { - data.opaque += blurArea; + if (!m_settings.general.windowOpacityAffectsBlur) { + data.opaque += blurArea; + } int topCornerRadius; int bottomCornerRadius;