From: Dana Jansens Date: Wed, 15 Oct 2003 04:56:32 +0000 (+0000) Subject: only inherit layer when both windows are the same normal status X-Git-Url: https://git.brokenzipper.com/gitweb?a=commitdiff_plain;h=415f2cce2796e769fea0529f7cace1109a6e0ce6;p=chaz%2Fopenbox only inherit layer when both windows are the same normal status --- diff --git a/openbox/client.c b/openbox/client.c index c219d607..30bceae5 100644 --- a/openbox/client.c +++ b/openbox/client.c @@ -857,7 +857,8 @@ 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(self) == client_normal(c)) { layer = MAX(layer, (c->above ? 1 : (c->below ? -1 : 0)));