Also show opaque windows when opacity is set to 100%.

BUG: 173214

svn path=/trunk/KDE/kdebase/workspace/; revision=890977
This commit is contained in:
Martin Gräßlin 2008-11-30 19:16:13 +00:00
parent a875c6ea23
commit 6576ff1d21

View file

@ -1239,7 +1239,13 @@ void CubeEffect::paintWindow( EffectWindow* w, int mask, QRegion region, WindowP
}
}
if( !slide || (slide && !w->isDesktop()) || slideOpacity )
{
// HACK set opacity to 0.99 in case of fully opaque to ensure that windows are painted in correct sequence
// bug #173214
if( opacity > 0.99f )
opacity = 0.99f;
data.opacity *= opacity;
}
if( w->isOnDesktop(painting_desktop) && w->x() < rect.x() )
{