Do not subtract region of translucent windows from snow region, that is repaint region of next frame.
BUG: 191442 svn path=/trunk/KDE/kdebase/workspace/; revision=972987
This commit is contained in:
parent
bc37b74c98
commit
a5fb312486
1 changed files with 1 additions and 1 deletions
|
@ -225,7 +225,7 @@ void SnowEffect::postPaintScreen()
|
||||||
|
|
||||||
void SnowEffect::paintWindow( EffectWindow* w, int mask, QRegion region, WindowPaintData& data )
|
void SnowEffect::paintWindow( EffectWindow* w, int mask, QRegion region, WindowPaintData& data )
|
||||||
{
|
{
|
||||||
if( active && snowBehindWindows && !w->isDesktop() && !w->isDock() )
|
if( active && snowBehindWindows && !w->isDesktop() && !w->isDock() && !w->hasAlpha() && data.opacity == 1.0 )
|
||||||
{
|
{
|
||||||
repaintRegion -= QRegion( w->geometry() );
|
repaintRegion -= QRegion( w->geometry() );
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue