wmii

git clone git://oldgit.suckless.org/wmii/
Log | Files | Refs | README | LICENSE

commit fdd8935f592e0a97ff21f1fbe61f1e083f8b3e23
parent f72c098ecf1768a06e48d92c9c3e44999e557acb
Author: Anselm R. Garbe <garbeam@wmii.de>
Date:   Thu,  8 Jun 2006 11:12:09 +0200

fixed stacked scaling


Diffstat:
cmd/wm/column.c | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/cmd/wm/column.c b/cmd/wm/column.c @@ -52,7 +52,7 @@ relax_column(Area *a) fallthrough = True; break; case Colstack: - h = a->rect.height - frame_size * height_of_bar(); + h = a->rect.height - (frame_size - 1) * height_of_bar(); if(h < 3 * height_of_bar()) fallthrough = True; default: @@ -175,7 +175,7 @@ arrange_column(Area *a, Bool dirty) } break; case Colstack: - h = a->rect.height - num_frames * height_of_bar(); + h = a->rect.height - (num_frames - 1) * height_of_bar(); if(h < 3 * height_of_bar()) goto Fallthrough; for(f=a->frame; f; f=f->anext) {