Somehow effects->activeWindow() seems to return NULL during setup, so don't check our saved variable but the current active window.
BUG: 200232 svn path=/trunk/KDE/kdebase/workspace/; revision=1059477
This commit is contained in:
parent
612972eea0
commit
30f0575de0
1 changed files with 1 additions and 1 deletions
|
@ -80,7 +80,7 @@ void DimInactiveEffect::paintWindow( EffectWindow* w, int mask, QRegion region,
|
|||
|
||||
bool DimInactiveEffect::dimWindow( const EffectWindow* w ) const
|
||||
{
|
||||
if( active == w )
|
||||
if( effects->activeWindow() == w )
|
||||
return false; // never dim active window
|
||||
if( active && dim_by_group && active->group() == w->group())
|
||||
return false; // don't dim in active group if configured so
|
||||
|
|
Loading…
Reference in a new issue