Fix the ClientGroup::add() check to make sure the client isn't already a
part of a group. svn path=/trunk/KDE/kdebase/workspace/; revision=1049643
This commit is contained in:
parent
88a85b1b61
commit
2f525b4c34
1 changed files with 1 additions and 1 deletions
|
@ -53,7 +53,7 @@ void ClientGroup::add( Client* c, int before, bool becomeVisible )
|
|||
return;
|
||||
|
||||
// Client must not already be grouped
|
||||
assert( c->clientGroup()->clients().size() == 1 );
|
||||
assert( !c->clientGroup() || c->clientGroup()->clients().size() == 1 );
|
||||
|
||||
// Tabbed windows MUST have a decoration
|
||||
if( c->noBorder() )
|
||||
|
|
Loading…
Reference in a new issue