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:
parent
a875c6ea23
commit
6576ff1d21
1 changed files with 6 additions and 0 deletions
|
@ -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() )
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue