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:
parent
7999031aa3
commit
25d3fa6fd3
1 changed files with 8 additions and 0 deletions
|
@ -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();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue