From 3f07d10802971a99f9a476eb8dcfef554288c829 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Gr=C3=A4=C3=9Flin?= Date: Thu, 12 Feb 2009 11:20:44 +0000 Subject: [PATCH] Blur windows which have hasAlpha set. That way background of e.g. transparent Plasma panels and Konsole will be blurred as well. FEATURE: 178670 svn path=/trunk/KDE/kdebase/workspace/; revision=925075 --- effects/blur/blur.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/effects/blur/blur.cpp b/effects/blur/blur.cpp index e880c629c0..99af64ec88 100644 --- a/effects/blur/blur.cpp +++ b/effects/blur/blur.cpp @@ -246,7 +246,8 @@ void BlurEffect::drawWindow( EffectWindow* w, int mask, QRegion region, WindowPa if( mValid && !effects->activeFullScreenEffect() /*&& mTransparentWindows*/ ) { if( mask & PAINT_WINDOW_TRANSLUCENT && - (data.opacity != 1.0 || data.contents_opacity != 1.0 || data.decoration_opacity != 1.0 )) + ((data.opacity != 1.0 || data.contents_opacity != 1.0 || data.decoration_opacity != 1.0 ) || + w->hasAlpha())) { double blurAmount = data.opacity;