summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2007-05-04 04:08:31 +0000
committerDana Jansens <danakj@orodu.net>2007-05-04 04:08:31 +0000
commit147f83fe3ca7467a4b55c66e65923f1ef805efd3 (patch)
treeaca5f66afcb1cd7f2273ff815f7574b91d38e030
parentcdcba19cf9020ace8ae6337e3d94f8f131a2daf3 (diff)
this is gross... i think it can go away from other changes... if openbox goes into infinite loops.. then it needs to come back !
-rw-r--r--openbox/client.c14
1 files changed, 0 insertions, 14 deletions
diff --git a/openbox/client.c b/openbox/client.c
index 19b65f03..49749399 100644
--- a/openbox/client.c
+++ b/openbox/client.c
@@ -1201,20 +1201,6 @@ void client_update_transient_for(ObClient *self)
c->transient_for != OB_TRAN_GROUP))
c->transients = g_slist_append(c->transients, self);
}
-
-/* XXX can i remove this ?? */
-
- /* remove all transients which are in the group, that causes
- circlular pointer hell of doom */
- for (it = self->group->members; it; it = g_slist_next(it)) {
- GSList *sit, *next;
- for (sit = self->transients; sit; sit = next) {
- next = g_slist_next(sit);
- if (sit->data == it->data)
- self->transients =
- g_slist_delete_link(self->transients, sit);
- }
- }
} else if (self->transient_for != NULL) { /* transient of window */
/* add to new parent */
self->transient_for->transients =