don't break activity associations when autogrouping

svn path=/trunk/KDE/kdebase/workspace/; revision=1194393
This commit is contained in:
Chani Armitage 2010-11-08 21:57:08 +00:00
parent aa804ee8c8
commit 90cbc4ef61

View file

@ -332,6 +332,7 @@ bool Client::manage( Window w, bool isMapped )
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() && desk == group->visible()->desktop() &&
activities() == group->visible()->activities() &&
group->visible()->maximizeMode() != MaximizeFull ) group->visible()->maximizeMode() != MaximizeFull )
{ {
group->add( this, -1, true ); group->add( this, -1, true );