Force blur on all windows in fade desktop effect. Should be safe and does not make the panel ugly

svn path=/trunk/KDE/kdebase/workspace/; revision=1146696
This commit is contained in:
Martin Gräßlin 2010-07-06 11:56:49 +00:00
parent 7999031aa3
commit 25d3fa6fd3

View file

@ -53,6 +53,10 @@ void FadeDesktopEffect::prePaintScreen( ScreenPrePaintData &data, int time )
{ {
m_fading = false; m_fading = false;
m_timeline.setProgress( 0.0 ); m_timeline.setProgress( 0.0 );
foreach( EffectWindow* w, effects->stackingOrder() )
{
w->setData( WindowForceBlurRole, QVariant( false ) );
}
effects->setActiveFullScreenEffect( NULL ); effects->setActiveFullScreenEffect( NULL );
} }
} }
@ -100,6 +104,10 @@ void FadeDesktopEffect::desktopChanged( int old )
m_fading = true; m_fading = true;
m_timeline.setProgress( 0 ); m_timeline.setProgress( 0 );
m_oldDesktop = old; m_oldDesktop = old;
foreach( EffectWindow* w, effects->stackingOrder() )
{
w->setData( WindowForceBlurRole, QVariant( true ) );
}
effects->addRepaintFull(); effects->addRepaintFull();
} }