place windows in the largest area not the widest one, reverts to 3.4.2 behavior so the dock doesn't screw up placement
This commit is contained in:
parent
3b4b52921a
commit
9c9095ffac
1 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue