only inherit layer when both windows are the same normal status
Dana Jansens danakj@orodu.net
1 files changed,
2 insertions(+),
1 deletions(-)
jump to
M
openbox/client.c
→
openbox/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)));