projects
/
dana
/
openbox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3b4b529
)
place windows in the largest area not the widest one, reverts to 3.4.2 behavior so...
author
Dana Jansens
<danakj@orodu.net>
Sat, 4 Aug 2007 00:46:11 +0000
(20:46 -0400)
committer
Dana Jansens
<danakj@orodu.net>
Sat, 4 Aug 2007 00:46:11 +0000
(20:46 -0400)
openbox/place.c
patch
|
blob
|
history
diff --git
a/openbox/place.c
b/openbox/place.c
index
6a97c36
..
7c20c79
100644
(file)
--- 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;
}
}