]> Dogcows Code - chaz/openbox/commitdiff
only inherit layer when both windows are the same normal status
authorDana Jansens <danakj@orodu.net>
Wed, 15 Oct 2003 04:56:32 +0000 (04:56 +0000)
committerDana Jansens <danakj@orodu.net>
Wed, 15 Oct 2003 04:56:32 +0000 (04:56 +0000)
openbox/client.c

index c219d6071a754bb4bd494a6b8e0f206c98987674..30bceae596787706e024eaffd351aec0e816c7ae 100644 (file)
@@ -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)));
This page took 0.030021 seconds and 4 git commands to generate.