fix color fill of empty column on window resize

This commit is contained in:
Iris Lightshard 2019-11-14 18:55:20 -05:00
parent a8eb32994e
commit 91397e2c43

2
acme.c
View file

@ -549,7 +549,7 @@ mousethread(void *v)
case MResize: case MResize:
if(getwindow(display, Refnone) < 0) if(getwindow(display, Refnone) < 0)
error("attach to window"); error("attach to window");
draw(screen, screen->r, display->white, nil, ZP); draw(screen, screen->r, allocimage(display, Rect(0,0,1,1), screen->chan, 1, 0x222222FF), nil, ZP);
iconinit(); iconinit();
scrlresize(); scrlresize();
rowresize(&row, screen->clipr); rowresize(&row, screen->clipr);