rio: properly restore the windows contents on /dev/mouse close
The previous resize optimization now means that the wfill() is skipped on resize for libdraw programs. So do it once /dev/mouse is closed and the window processes the Refresh message.
This commit is contained in:
parent
c931e96364
commit
7d55aa8a32
1 changed files with 1 additions and 0 deletions
|
@ -129,6 +129,7 @@ wrefresh(Window *w)
|
|||
wborder(w, Unselborder);
|
||||
r = insetrect(w->i->r, Selborder);
|
||||
draw(w->i, r, w->cols[BACK], nil, w->entire.min);
|
||||
wfill(w);
|
||||
w->ticked = 0;
|
||||
if(w->p0 > 0)
|
||||
frdrawsel(w, frptofchar(w, 0), 0, w->p0, 0);
|
||||
|
|
Loading…
Reference in a new issue