If compositing is activated when windows are already open add them to
the fade effect's window list. Fixes windows not fading back in after resetting desktop effects. BUG: 173262 svn path=/trunk/KDE/kdebase/workspace/; revision=897048
This commit is contained in:
parent
d49cc078bb
commit
c5256e6b13
1 changed files with 6 additions and 0 deletions
|
@ -38,6 +38,12 @@ void FadeEffect::reconfigure( ReconfigureFlags )
|
|||
fadeInTime = animationTime( conf, "FadeInTime", 150 );
|
||||
fadeOutTime = animationTime( conf, "FadeOutTime", 150 );
|
||||
fadeWindows = conf.readEntry( "FadeWindows", true );
|
||||
|
||||
// Add all existing windows to the window list
|
||||
// TODO: Enabling desktop effects should trigger windowAdded() on all windows
|
||||
windows.clear();
|
||||
foreach( EffectWindow *w, effects->stackingOrder() )
|
||||
windows[ w ].opacity = 1.0;
|
||||
}
|
||||
|
||||
void FadeEffect::prePaintScreen( ScreenPrePaintData& data, int time )
|
||||
|
|
Loading…
Reference in a new issue