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

@ -9,3 +9,4 @@ These patches from suckless.org were applied from the newest versions, in order:
1. `st-scrollback-0.8.5.diff` 1. `st-scrollback-0.8.5.diff`
1. `st-externalpipe-0.8.4.diff` 1. `st-externalpipe-0.8.4.diff`
1. `st-glyph-wide-support-20220411-ef05519.diff` 1. `st-glyph-wide-support-20220411-ef05519.diff`
1. 'st-w3m-0.8.3.diff'

View file

@ -1752,6 +1752,8 @@ xsettitle(char *p)
int int
xstartdraw(void) 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); return IS_SET(MODE_VISIBLE);
} }