this is gross... i think it can go away from other changes... if openbox goes into infinite loops.. then it needs to come back !
This commit is contained in:
parent
cdcba19cf9
commit
147f83fe3c
1 changed files with 0 additions and 14 deletions
|
@ -1201,20 +1201,6 @@ void client_update_transient_for(ObClient *self)
|
||||||
c->transient_for != OB_TRAN_GROUP))
|
c->transient_for != OB_TRAN_GROUP))
|
||||||
c->transients = g_slist_append(c->transients, self);
|
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 */
|
} else if (self->transient_for != NULL) { /* transient of window */
|
||||||
/* add to new parent */
|
/* add to new parent */
|
||||||
self->transient_for->transients =
|
self->transient_for->transients =
|
||||||
|
|
Loading…
Reference in a new issue