mirror of
https://github.com/9fans/plan9port.git
synced 2025-01-12 11:10:07 +00:00
acme/wind.c: redraw window body with bg color if too small for a single line; ref #10
This commit is contained in:
parent
9dab36f2af
commit
0a846f5f0f
1 changed files with 1 additions and 0 deletions
|
@ -235,6 +235,7 @@ winresize(Window *w, Rectangle r, int safe, int keepextra)
|
||||||
r1.min.y = min(y, r.max.y);
|
r1.min.y = min(y, r.max.y);
|
||||||
r1.max.y = r.max.y;
|
r1.max.y = r.max.y;
|
||||||
}else{
|
}else{
|
||||||
|
draw(screen, r1, textcols[BACK], nil, ZP);
|
||||||
r1.min.y = y;
|
r1.min.y = y;
|
||||||
r1.max.y = y;
|
r1.max.y = y;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue