wrong variable
authorDana Jansens <danakj@orodu.net>
Wed, 13 Jun 2007 11:25:47 +0000 (11:25 +0000)
committerDana Jansens <danakj@orodu.net>
Wed, 13 Jun 2007 11:25:47 +0000 (11:25 +0000)
openbox/screen.c

index 1cdf31f..40b08f3 100644 (file)
@@ -1349,7 +1349,7 @@ Rect* screen_area(guint desktop, guint head, Rect *search)
                 StrutPartial *s = it->data;
                 if (STRUT_BOTTOM_IN_SEARCH(s, search) &&
                     !STRUT_BOTTOM_IGNORE(s, us, search))
-                    r = MIN(r, ar - s->bottom);
+                    b = MIN(b, ar - s->bottom);
             }
 
             /* limit to this monitor */