Don't manage new windows which should not be shown in desktop grid (such as panels).

svn path=/trunk/KDE/kdebase/workspace/; revision=1076727
This commit is contained in:
Martin Gräßlin 2010-01-18 19:06:09 +00:00
parent b11f81c5fc
commit f5dd7d7185

View file

@ -368,6 +368,8 @@ void DesktopGridEffect::windowAdded( EffectWindow* w )
return;
if( isUsingPresentWindows() )
{
if( w->isDesktop() || w->isDock() || !w->visibleInClientGroup() )
return; // don't add
if( w->isOnAllDesktops() )
{
for( int i=0; i<effects->numberOfDesktops(); i++ )