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
This commit is contained in:
Martin Gräßlin 2009-02-12 11:20:44 +00:00
parent 1297fe6daa
commit 3f07d10802

View file

@ -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;