mirror of
https://github.com/0intro/wmii
synced 2025-02-22 09:14:16 +03:00
fixed stacked scaling
This commit is contained in:
parent
f72c098ecf
commit
fdd8935f59
@ -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) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user