mirror of
https://github.com/mintycube/st.git
synced 2024-10-22 12:05:49 +00:00
Adding w3m patch
This commit is contained in:
parent
2c85b5da91
commit
bca86276e7
@ -15,6 +15,8 @@ Refer to [https://st.suckless.org/](https://st.suckless.org/) for details on the
|
|||||||
|
|
||||||
### Changelog:
|
### Changelog:
|
||||||
|
|
||||||
|
2020-06-14 - Added w3m patch
|
||||||
|
|
||||||
2020-06-10 - Upgrade to 249ef9, 2020-06-01
|
2020-06-10 - Upgrade to 249ef9, 2020-06-01
|
||||||
|
|
||||||
2020-06-05 - Added the ligatures patch
|
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/)
|
- [~visualbell~](https://st.suckless.org/patches/visualbell/)
|
||||||
- ~adds visual indicators for the terminal bell event~
|
- ~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/)
|
- [workingdir](https://st.suckless.org/patches/workingdir/)
|
||||||
- allows user to specify the initial path st should use as the working directory
|
- allows user to specify the initial path st should use as the working directory
|
||||||
|
|
||||||
|
@ -199,12 +199,16 @@
|
|||||||
*/
|
*/
|
||||||
#define THEMED_CURSOR_PATCH 0
|
#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/
|
* https://st.suckless.org/patches/vertcenter/
|
||||||
*/
|
*/
|
||||||
#define VERTCENTER_PATCH 0
|
#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.
|
/* This patch allows user to specify the initial path st should use as the working directory.
|
||||||
* https://st.suckless.org/patches/workingdir/
|
* https://st.suckless.org/patches/workingdir/
|
||||||
*/
|
*/
|
||||||
|
4
x.c
4
x.c
@ -1954,6 +1954,10 @@ xsettitle(char *p)
|
|||||||
int
|
int
|
||||||
xstartdraw(void)
|
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);
|
return IS_SET(MODE_VISIBLE);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user