Be more strict with tab autogrouping after an in-session KWin restart.

This is probably as good as it gets without adding window properties.
CCBUG: 218116

svn path=/trunk/KDE/kdebase/workspace/; revision=1062347
This commit is contained in:
Lucas Murray 2009-12-14 12:03:32 +00:00
parent 601086c81e
commit 017a5c8431

View file

@ -309,7 +309,9 @@ bool Client::manage( Window w, bool isMapped )
// If the window is already mapped (Restarted KWin) add any windows that already have the // If the window is already mapped (Restarted KWin) add any windows that already have the
// same geometry to the same client group. (May incorrectly handle maximized windows) // same geometry to the same client group. (May incorrectly handle maximized windows)
foreach( ClientGroup* group, workspace()->clientGroups ) foreach( ClientGroup* group, workspace()->clientGroups )
if( geom == QRect( group->visible()->pos(), group->visible()->clientSize() )) if( geom == QRect( group->visible()->pos(), group->visible()->clientSize() ) &&
desk == group->visible()->desktop() &&
group->visible()->maximizeMode() != MaximizeFull )
{ {
group->add( this, -1, true ); group->add( this, -1, true );
break; break;