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

@ -49,7 +49,7 @@ eresized(int new)
if(allims==nil || allims[which]==nil)
return;
r = rectaddpt(allims[0]->r, subpt(screen->r.min, allims[0]->r.min));
if(!new)
if(!new && !winsize)
drawresizewindow(r);
r = rectaddpt(r, subpt(allims[which]->r.min, allims[0]->r.min));
drawop(screen, r, allims[which], allmasks[which], allims[which]->r.min, S);