all repos — openbox @ 415f2cce2796e769fea0529f7cace1109a6e0ce6

openbox fork - make it a bit more like ryudo

only inherit layer when both windows are the same normal status
Dana Jansens danakj@orodu.net
commit

415f2cce2796e769fea0529f7cace1109a6e0ce6

parent

9b0f5fcde7b7c9f140f831945c9f548d9654e81a

1 files changed, 2 insertions(+), 1 deletions(-)

jump to
M openbox/client.copenbox/client.c

@@ -857,7 +857,8 @@ gint layer = -2;

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)));