X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=openbox%2Fplace.c;h=6669a28e4c5fa42723c064e3acb527ed2c8f5ffc;hb=0417d1226c7a523cd4420195d86dd744f514b2fe;hp=e5633747d2221517985d1e383aa8fdb0d91cbfff;hpb=1d2aa812c6112e33b0250aa0d791745f69156c40;p=chaz%2Fopenbox diff --git a/openbox/place.c b/openbox/place.c index e5633747..6669a28e 100644 --- a/openbox/place.c +++ b/openbox/place.c @@ -59,7 +59,7 @@ static Rect* pick_head(ObClient *c) static gboolean place_random(ObClient *client, gint *x, gint *y) { - int l, r, t, b; + gint l, r, t, b; Rect *area; area = pick_head(client); @@ -345,8 +345,8 @@ static gboolean place_transient(ObClient *client, gint *x, gint *y) } else { GSList *it; gboolean first = TRUE; - int l, r, t, b; - for (it = client->group->members; it; it = it->next) { + gint l, r, t, b; + for (it = client->group->members; it; it = g_slist_next(it)) { ObClient *m = it->data; if (!(m == client || m->transient_for)) { if (first) {