From e992879263e9d45a7b668b484d2948f90764d266 Mon Sep 17 00:00:00 2001 From: Lucas Murray Date: Mon, 1 Sep 2008 15:04:41 +0000 Subject: [PATCH] Don't display utility windows in present windows as well, that should be everything. BUG: 152341 svn path=/trunk/KDE/kdebase/workspace/; revision=855832 --- effects/presentwindows.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/effects/presentwindows.cpp b/effects/presentwindows.cpp index 637b2fe4dc..ce29888b4c 100644 --- a/effects/presentwindows.cpp +++ b/effects/presentwindows.cpp @@ -294,6 +294,8 @@ void PresentWindowsEffect::windowInputMouseEvent( Window w, QEvent* e ) void PresentWindowsEffect::windowAdded( EffectWindow* w ) { + if( w->isSpecialWindow() || w->isUtility() ) + return; mWindowsToPresent.append( w ); rearrangeWindows(); } @@ -338,7 +340,7 @@ void PresentWindowsEffect::setActive(bool active) // Filter out special windows such as panels and taskbars foreach( EffectWindow* window, originalwindowlist ) { - if( window->isSpecialWindow() ) + if( window->isSpecialWindow() || window->isUtility() ) continue; if( window->isDeleted()) continue;