mirror of https://github.com/0intro/wmii
add an extra check to create_area
This commit is contained in:
parent
47b79d6f83
commit
7afc36f949
|
@ -29,6 +29,8 @@ create_area(View *v)
|
|||
}
|
||||
else
|
||||
w = rect.width;
|
||||
if(w < MIN_COLWIDTH)
|
||||
w = MIN_COLWIDTH;
|
||||
|
||||
if(v->area.size >= 2 && (v->area.size - 1) * MIN_COLWIDTH + w > rect.width)
|
||||
return nil;
|
||||
|
|
Loading…
Reference in New Issue