place windows in the largest area not the widest one, reverts to 3.4.2 behavior so the dock doesn't screw up placement
Dana Jansens danakj@orodu.net
1 files changed,
2 insertions(+),
2 deletions(-)
jump to
M
openbox/place.c
→
openbox/place.c
@@ -316,9 +316,9 @@ Rect *r = sit->data;
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; } }