autoresize (erik quanstrom)

This commit is contained in:
rsc 2006-03-19 06:11:51 +00:00
parent acf8398fef
commit 28a8042cec
5 changed files with 7 additions and 8 deletions

View file

@ -36,7 +36,7 @@ eresized(int new)
if(image == nil)
return;
r = rectaddpt(image->r, subpt(screen->r.min, image->r.min));
if(!new)
if(!new && !winsize)
drawresizewindow(r);
draw(screen, r, image, nil, image->r.min);
flushimage(display, 1);