diff options
| author | Dana Jansens <danakj@orodu.net> | 2007-04-26 02:32:50 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2007-04-26 02:32:50 +0000 |
| commit | d9b25d4884453b89dbed4b27675c0888ae876447 (patch) | |
| tree | 7c13e6251623a9e9c2e156a5d2b0a3780819bfd9 /openbox | |
| parent | e896709c9098c73f40b5c7cffd95e7a253a0aacc (diff) | |
add group transients to other transients who arent group transients. is that english? YEP
Diffstat (limited to 'openbox')
| -rw-r--r-- | openbox/client.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/openbox/client.c b/openbox/client.c index 4f71c7fb..84f739ac 100644 --- a/openbox/client.c +++ b/openbox/client.c @@ -1134,7 +1134,8 @@ void client_update_transient_for(ObClient *self) /* remove from old parents */ for (it = self->group->members; it; it = g_slist_next(it)) { ObClient *c = it->data; - if (c != self && !c->transient_for) + if (c != self && (!c->transient_for || + c->transient_for != OB_TRAN_GROUP)) c->transients = g_slist_remove(c->transients, self); } } else if (self->transient_for != NULL) { /* transient of window */ @@ -1149,7 +1150,8 @@ void client_update_transient_for(ObClient *self) /* add to new parents */ for (it = self->group->members; it; it = g_slist_next(it)) { ObClient *c = it->data; - if (c != self && !c->transient_for) + if (c != self && (!c->transient_for || + c->transient_for != OB_TRAN_GROUP)) c->transients = g_slist_append(c->transients, self); } |
