]> Dogcows Code - chaz/openbox/blobdiff - openbox/client.c
inherit above/below more carefully
[chaz/openbox] / openbox / client.c
index cc5d80cad5c2fea39cd6a556b0ca443f6daf1c0c..67c771a703a0bfa26c818775c739634bdfd50482 100644 (file)
@@ -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:
This page took 0.023801 seconds and 4 git commands to generate.