Don't display utility windows in present windows as well, that should be everything.

BUG: 152341

svn path=/trunk/KDE/kdebase/workspace/; revision=855832
This commit is contained in:
Lucas Murray 2008-09-01 15:04:41 +00:00
parent 4064401382
commit e992879263

View file

@ -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;