From: Daniel Liu Date: Mon, 7 Sep 2020 14:45:43 +0000 (-0400) Subject: applied w3m image patch X-Git-Url: https://git.danieliu.xyz/?a=commitdiff_plain;h=079f9a8bb75664a40bba9af2c84d876a4290090c;p=st.git applied w3m image patch --- diff --git a/x.c b/x.c index 09ee612..b278a34 100644 --- a/x.c +++ b/x.c @@ -1628,6 +1628,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); }