diff options
Diffstat (limited to 'openbox')
| -rw-r--r-- | openbox/place.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/openbox/place.c b/openbox/place.c index 6a97c363..7c20c79f 100644 --- a/openbox/place.c +++ b/openbox/place.c @@ -316,9 +316,9 @@ static gboolean place_nooverlap(ObClient *c, gint *x, gint *y) if (r->width >= c->frame->area.width && r->height >= c->frame->area.height && - r->width > maxsize) + r->width * r->height > maxsize) { - maxsize = r->width; + maxsize = r->width * r->height; maxit = sit; } } |
