]> Dogcows Code - chaz/openbox/blobdiff - openbox/place.c
the xinerama patch from john russell, modified a bit and merged the move_onmonitor...
[chaz/openbox] / openbox / place.c
index e5633747d2221517985d1e383aa8fdb0d91cbfff..6669a28e4c5fa42723c064e3acb527ed2c8f5ffc 100644 (file)
@@ -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) {
This page took 0.020092 seconds and 4 git commands to generate.