Adding w3m patch
This commit is contained in:
parent
2c85b5da91
commit
bca86276e7
3 changed files with 15 additions and 2 deletions
|
|
@ -15,6 +15,8 @@ Refer to [https://st.suckless.org/](https://st.suckless.org/) for details on the
|
|||
|
||||
### Changelog:
|
||||
|
||||
2020-06-14 - Added w3m patch
|
||||
|
||||
2020-06-10 - Upgrade to 249ef9, 2020-06-01
|
||||
|
||||
2020-06-05 - Added the ligatures patch
|
||||
|
|
@ -132,6 +134,9 @@ Refer to [https://st.suckless.org/](https://st.suckless.org/) for details on the
|
|||
- [~visualbell~](https://st.suckless.org/patches/visualbell/)
|
||||
- ~adds visual indicators for the terminal bell event~
|
||||
|
||||
- [w3m](https://st.suckless.org/patches/w3m/)
|
||||
- adds support for w3m images
|
||||
|
||||
- [workingdir](https://st.suckless.org/patches/workingdir/)
|
||||
- allows user to specify the initial path st should use as the working directory
|
||||
|
||||
|
|
|
|||
|
|
@ -199,12 +199,16 @@
|
|||
*/
|
||||
#define THEMED_CURSOR_PATCH 0
|
||||
|
||||
/*
|
||||
* Vertically center lines in the space available if you have set a larger chscale in config.h
|
||||
/* Vertically center lines in the space available if you have set a larger chscale in config.h
|
||||
* https://st.suckless.org/patches/vertcenter/
|
||||
*/
|
||||
#define VERTCENTER_PATCH 0
|
||||
|
||||
/* Adds support for w3m images.
|
||||
* https://st.suckless.org/patches/w3m/
|
||||
*/
|
||||
#define W3M_PATCH 0
|
||||
|
||||
/* This patch allows user to specify the initial path st should use as the working directory.
|
||||
* https://st.suckless.org/patches/workingdir/
|
||||
*/
|
||||
|
|
|
|||
4
x.c
4
x.c
|
|
@ -1954,6 +1954,10 @@ xsettitle(char *p)
|
|||
int
|
||||
xstartdraw(void)
|
||||
{
|
||||
#if W3M_PATCH
|
||||
if (IS_SET(MODE_VISIBLE))
|
||||
XCopyArea(xw.dpy, xw.win, xw.buf, dc.gc, 0, 0, win.w, win.h, 0, 0);
|
||||
#endif // W3M_PATCH
|
||||
return IS_SET(MODE_VISIBLE);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue