Disable window elevating in the highlight window effect as it causes
problems with the Plasma tooltips. svn path=/trunk/KDE/kdebase/workspace/; revision=1064261
This commit is contained in:
parent
7ee3659755
commit
21023f05a8
1 changed files with 6 additions and 4 deletions
|
@ -47,7 +47,7 @@ HighlightWindowEffect::~HighlightWindowEffect()
|
|||
}
|
||||
|
||||
static bool isInitiallyHidden( EffectWindow* w )
|
||||
{ // Is the window is hidden unless it is highlighted?
|
||||
{ // Is the window initially hidden until it is highlighted?
|
||||
return !w->visibleInClientGroup() || !w->isOnCurrentDesktop();
|
||||
}
|
||||
|
||||
|
@ -148,8 +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 );
|
||||
//foreach( EffectWindow* e, m_highlightedWindows )
|
||||
// effects->setElevatedWindow( e, false );
|
||||
m_highlightedWindows.clear();
|
||||
for( int i=0; i<length; i++ )
|
||||
{
|
||||
|
@ -162,7 +162,9 @@ void HighlightWindowEffect::propertyNotify( EffectWindow* w, long a )
|
|||
if( !foundWin->isMinimized() )
|
||||
{
|
||||
m_highlightedWindows.append( foundWin );
|
||||
effects->setElevatedWindow( foundWin, true );
|
||||
// TODO: We cannot just simply elevate the window as this will elevate it over
|
||||
// Plasma tooltips and other such windows as well
|
||||
//effects->setElevatedWindow( foundWin, true );
|
||||
}
|
||||
found = true;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue