Missed column.c in my last commit, somehow

This commit is contained in:
Kris Maglione 2006-06-29 22:28:38 -04:00
parent 5b23501285
commit e2652df909
1 changed files with 6 additions and 3 deletions

View File

@ -43,7 +43,9 @@ relax_column(Area *a)
if(!a->frame)
return;
for(f=a->frame, frame_size=0; f; f=f->anext, frame_size++);
frame_size = 0;
for(f=a->frame; f; f=f->anext)
frame_size++;
switch(a->mode) {
case Coldefault:
@ -152,10 +154,11 @@ arrange_column(Area *a, Bool dirty)
Frame *f;
unsigned int min_height = 2 * height_of_bar();
if(!a->frame || a->floating)
if(a->floating || !a->frame)
return;
for(f=a->frame; f; f=f->anext, num_frames++);
for(f=a->frame; f; f=f->anext)
num_frames++;
switch(a->mode) {
case Coldefault: