Properly add a window to a group.
BUG: 139180 svn path=/trunk/KDE/kdebase/workspace/; revision=619874
This commit is contained in:
parent
f52407b829
commit
1a0637b627
1 changed files with 4 additions and 3 deletions
|
@ -994,10 +994,11 @@ void Client::checkGroup( Group* set_group, bool force )
|
||||||
in_group->removeMember( this );
|
in_group->removeMember( this );
|
||||||
in_group = NULL;
|
in_group = NULL;
|
||||||
}
|
}
|
||||||
in_group = new_group;
|
if( new_group == NULL )
|
||||||
if( in_group == NULL )
|
new_group = new Group( None, workspace() );
|
||||||
|
if( in_group != new_group )
|
||||||
{
|
{
|
||||||
in_group = new Group( None, workspace());
|
in_group = new_group;
|
||||||
in_group->addMember( this );
|
in_group->addMember( this );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue