inherit above/below more carefully
This commit is contained in:
parent
90abec9c30
commit
420e6f87a6
1 changed files with 4 additions and 1 deletions
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue