]> Dogcows Code - chaz/openbox/blobdiff - openbox/place.c
fix comment
[chaz/openbox] / openbox / place.c
index 664c094d6b220d8d82c4db0fb925361b85316016..6c64a3bce0a7bca0023d91120b714efa0fc7e0a1 100644 (file)
@@ -85,8 +85,8 @@ static GSList* area_remove(GSList *list, Rect *a)
         } else {
             Rect isect, extra;
 
-            /* Use an intersection of win and curr to determine the space
-               around curr that we can use.
+            /* Use an intersection of a and r to determine the space
+               around r that we can use.
 
                NOTE: the spaces calculated can overlap.
             */
@@ -151,7 +151,7 @@ static gboolean place_smart(ObClient *client, gint *x, gint *y)
     for (it = list; it; it = g_list_next(it)) {
         ObClient *c = it->data;
 
-        if (c != client && !c->shaded && !client_normal(c))
+        if (c != client && !c->shaded && client_normal(c))
             spaces = area_remove(spaces, &c->frame->area);
     }
 
This page took 0.020481 seconds and 4 git commands to generate.