more cleanup

This commit is contained in:
Dana Jansens 2007-06-07 03:37:09 +00:00
parent 7a33207a50
commit 428880d75a

View file

@ -1260,12 +1260,9 @@ static void client_update_transient_tree(ObClient *self,
newparent != NULL && newparent != OB_TRAN_GROUP &&
newgroup != NULL && newgroup == oldgroup && client_normal(newparent))
{
ObClient *look = newparent;
do {
ObClient *look = client_search_top_direct_parent(newparent);
self->transients = g_slist_remove(self->transients, look);
look->parents = g_slist_remove(look->parents, self);
look = look->transient_for;
} while (look != NULL && look != OB_TRAN_GROUP && client_normal(look));
}