Do not start dim previous window animation for windows that should not be dimmed.
BUG: 194336 svn path=/trunk/KDE/kdebase/workspace/; revision=973936
This commit is contained in:
parent
809bdaa1f0
commit
fd5fa07507
1 changed files with 2 additions and 0 deletions
|
@ -109,6 +109,8 @@ void DimInactiveEffect::windowActivated( EffectWindow* w )
|
||||||
{
|
{
|
||||||
previousActive = active;
|
previousActive = active;
|
||||||
previousActiveTimeline.setProgress( 0.0 );
|
previousActiveTimeline.setProgress( 0.0 );
|
||||||
|
if( !dimWindow( previousActive ) )
|
||||||
|
previousActive = NULL;
|
||||||
|
|
||||||
if( dim_by_group )
|
if( dim_by_group )
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue