This commit is contained in:
cinap_lenrek 2020-12-02 00:57:21 +01:00
commit 4b6072e60f
2 changed files with 1 additions and 6 deletions

View file

@ -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);

View file

@ -96,12 +96,6 @@ Error:
}
a[0] = 'F';
BPLONG(a+1, s->id);
/*
* flush(1) because screen is likely holding last reference to
* window, and want it to disappear visually.
*/
if(flushimage(d, 1) < 0)
goto Error;
free(s);
return 1;
}