Elevate highlighted windows in the highlight window effect.
svn path=/trunk/KDE/kdebase/workspace/; revision=1064253
This commit is contained in:
parent
d93c4b6c33
commit
7ee3659755
1 changed files with 5 additions and 0 deletions
|
@ -148,6 +148,8 @@ void HighlightWindowEffect::propertyNotify( EffectWindow* w, long a )
|
|||
m_monitorWindow = w;
|
||||
bool found = false;
|
||||
int length = byteData.length() / sizeof( data[0] );
|
||||
foreach( EffectWindow* e, m_highlightedWindows )
|
||||
effects->setElevatedWindow( e, false );
|
||||
m_highlightedWindows.clear();
|
||||
for( int i=0; i<length; i++ )
|
||||
{
|
||||
|
@ -158,7 +160,10 @@ void HighlightWindowEffect::propertyNotify( EffectWindow* w, long a )
|
|||
continue;
|
||||
}
|
||||
if( !foundWin->isMinimized() )
|
||||
{
|
||||
m_highlightedWindows.append( foundWin );
|
||||
effects->setElevatedWindow( foundWin, true );
|
||||
}
|
||||
found = true;
|
||||
}
|
||||
if( !found )
|
||||
|
|
Loading…
Reference in a new issue