From 21023f05a8b9f09aa3855f6cc0d032b3297078d1 Mon Sep 17 00:00:00 2001 From: Lucas Murray Date: Sun, 20 Dec 2009 13:21:00 +0000 Subject: [PATCH] Disable window elevating in the highlight window effect as it causes problems with the Plasma tooltips. svn path=/trunk/KDE/kdebase/workspace/; revision=1064261 --- effects/highlightwindow/highlightwindow.cpp | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/effects/highlightwindow/highlightwindow.cpp b/effects/highlightwindow/highlightwindow.cpp index 0f1029e8d2..b55946e380 100644 --- a/effects/highlightwindow/highlightwindow.cpp +++ b/effects/highlightwindow/highlightwindow.cpp @@ -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; iisMinimized() ) { 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; }