We can blur the background behind panels in present windows. They won't move and without blurring it creates artefacts.

BUG: 242561
FIXED-IN: 4.5.1

svn path=/trunk/KDE/kdebase/workspace/; revision=1141849
This commit is contained in:
Martin Gräßlin 2010-06-23 16:47:08 +00:00
parent 450dbc0d45
commit 3c7343fef0

View file

@ -217,6 +217,13 @@ void PresentWindowsEffect::postPaintScreen()
}
m_windowData.clear();
foreach( EffectWindow *w, effects->stackingOrder() )
{
if( w->isDock() )
{
w->setData( WindowForceBlurRole, QVariant( false ) );
}
}
effects->setActiveFullScreenEffect( NULL );
}
@ -1607,6 +1614,14 @@ void PresentWindowsEffect::setActive( bool active, bool closingTab )
setHighlightedWindow( effects->currentTabBoxWindow() );
else
setHighlightedWindow( effects->activeWindow() );
foreach( EffectWindow *w, effects->stackingOrder() )
{
if( w->isDock() )
{
w->setData( WindowForceBlurRole, QVariant( true ) );
}
}
}
else
{