]> Dogcows Code - chaz/openbox/commitdiff
inherit above/below more carefully
authorDana Jansens <danakj@orodu.net>
Mon, 13 Oct 2003 02:52:59 +0000 (02:52 +0000)
committerDana Jansens <danakj@orodu.net>
Mon, 13 Oct 2003 02:52:59 +0000 (02:52 +0000)
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.026632 seconds and 4 git commands to generate.