summaryrefslogtreecommitdiff
path: root/x.c
diff options
context:
space:
mode:
authorNathan Reiner <nathan@nathanreiner.xyz>2022-12-24 17:49:58 +0100
committerNathan Reiner <nathan@nathanreiner.xyz>2022-12-24 17:49:58 +0100
commit2de24e0448dcce78fabfe23c0a9a46090d23de7b (patch)
treee46eeebc07acd400a51d8baf9faec8546c317b8e /x.c
parent3f8bc36b2171c1a64f7ca41905ad517ff114ec18 (diff)
add w3m patch
Diffstat (limited to 'x.c')
-rw-r--r--x.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/x.c b/x.c
index 64c9fa5..5d8d875 100644
--- a/x.c
+++ b/x.c
@@ -1616,6 +1616,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);
}