w3m patch for st.

This commit is contained in:
Bartek Stalewski 2022-12-06 00:40:16 +01:00
parent 1ed43f486d
commit 18924ecffd
2 changed files with 3 additions and 0 deletions

View file

@ -1752,6 +1752,8 @@ xsettitle(char *p)
int
xstartdraw(void)
{
if (IS_SET(MODE_VISIBLE))
XCopyArea(xw.dpy, xw.win, xw.buf, dc.gc, 0, 0, win.w, win.h, 0, 0);
return IS_SET(MODE_VISIBLE);
}