X-Git-Url: https://git.brokenzipper.com/gitweb?a=blobdiff_plain;f=openbox%2Fplace.c;h=6669a28e4c5fa42723c064e3acb527ed2c8f5ffc;hb=5a1ad84c0583ff4dd8df01e63488e9c04daf6eab;hp=e4406482b88c8cd5cafb371d1c37ceb48ddc77c5;hpb=740c5b2a20d5110435d0874f8cc6a4c9dfd14777;p=chaz%2Fopenbox diff --git a/openbox/place.c b/openbox/place.c index e4406482..6669a28e 100644 --- a/openbox/place.c +++ b/openbox/place.c @@ -346,7 +346,7 @@ static gboolean place_transient(ObClient *client, gint *x, gint *y) GSList *it; gboolean first = TRUE; gint l, r, t, b; - for (it = client->group->members; it; it = it->next) { + for (it = client->group->members; it; it = g_slist_next(it)) { ObClient *m = it->data; if (!(m == client || m->transient_for)) { if (first) {