only inherit layer when both windows are the same normal status
This commit is contained in:
parent
9b0f5fcde7
commit
415f2cce27
1 changed files with 2 additions and 1 deletions
|
@ -857,7 +857,8 @@ static void client_get_state(ObClient *self)
|
||||||
|
|
||||||
for (it = self->group->members; it; it = g_slist_next(it)) {
|
for (it = self->group->members; it; it = g_slist_next(it)) {
|
||||||
ObClient *c = it->data;
|
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,
|
layer = MAX(layer,
|
||||||
(c->above ? 1 : (c->below ? -1 : 0)));
|
(c->above ? 1 : (c->below ? -1 : 0)));
|
||||||
|
|
Loading…
Reference in a new issue