]> Dogcows Code - chaz/openbox/blobdiff - openbox/client.c
bug in the search for transient_for's
[chaz/openbox] / openbox / client.c
index d2e75dc237e1177edcf2ac3eeb338e664f889946..d1d235cee87c29dc0da5d6e5c87bf0c8806ce7a6 100644 (file)
@@ -1313,7 +1313,7 @@ void client_calc_layer(Client *self)
             for (it = self->group->members; it; it = it->next)
                 if (it->data != self &&
                     ((Client*)it->data)->transient_for != TRAN_GROUP) {
-                    self = self->transient_for;
+                    self = it->data;
                     break;
                 }
         }
This page took 0.026949 seconds and 4 git commands to generate.