autoresize (erik quanstrom)
This commit is contained in:
parent
acf8398fef
commit
28a8042cec
5 changed files with 7 additions and 8 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue