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:
parent
b11f81c5fc
commit
f5dd7d7185
1 changed files with 2 additions and 0 deletions
|
@ -368,6 +368,8 @@ void DesktopGridEffect::windowAdded( EffectWindow* w )
|
||||||
return;
|
return;
|
||||||
if( isUsingPresentWindows() )
|
if( isUsingPresentWindows() )
|
||||||
{
|
{
|
||||||
|
if( w->isDesktop() || w->isDock() || !w->visibleInClientGroup() )
|
||||||
|
return; // don't add
|
||||||
if( w->isOnAllDesktops() )
|
if( w->isOnAllDesktops() )
|
||||||
{
|
{
|
||||||
for( int i=0; i<effects->numberOfDesktops(); i++ )
|
for( int i=0; i<effects->numberOfDesktops(); i++ )
|
||||||
|
|
Loading…
Reference in a new issue