diff options
| author | Dana Jansens <danakj@orodu.net> | 2003-10-13 02:52:59 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2003-10-13 02:52:59 +0000 |
| commit | 420e6f87a6503b713e4d9047f809538ec0c60d41 (patch) | |
| tree | 04a23d7810ba598a287333ad08887b623505b817 /openbox | |
| parent | 90abec9c3017f05b14f85d85105df0c62622ad9a (diff) | |
inherit above/below more carefully
Diffstat (limited to 'openbox')
| -rw-r--r-- | openbox/client.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/openbox/client.c b/openbox/client.c index cc5d80ca..67c771a7 100644 --- a/openbox/client.c +++ b/openbox/client.c @@ -858,9 +858,12 @@ static void client_get_state(ObClient *self) for (it = self->group->members; it; it = g_slist_next(it)) { ObClient *c = it->data; - if (c != self && !client_search_transient(self, c)) + if (c != self && !client_search_transient(self, c) && + client_normal(c) == client_normal(self)) + { layer = MAX(layer, (c->above ? 1 : (c->below ? -1 : 0))); + } } switch (layer) { case -1: |
