added the xclearwin patch to fix dirty borders after changing colors
This commit is contained in:
parent
c6c7c8541d
commit
24fa39b861
2
config.h
2
config.h
@ -108,7 +108,7 @@ char *termname = "st-256color";
|
|||||||
unsigned int tabspaces = 8;
|
unsigned int tabspaces = 8;
|
||||||
|
|
||||||
/* bg opacity */
|
/* bg opacity */
|
||||||
float alpha = 0.8;
|
float alpha = 0.9;
|
||||||
|
|
||||||
/* Terminal colors (16 first used in escape sequence) */
|
/* Terminal colors (16 first used in escape sequence) */
|
||||||
static const char *colorname[] = {
|
static const char *colorname[] = {
|
||||||
|
2
st.c
2
st.c
@ -1970,6 +1970,8 @@ strhandle(void)
|
|||||||
* TODO if defaultbg color is changed, borders
|
* TODO if defaultbg color is changed, borders
|
||||||
* are dirty
|
* are dirty
|
||||||
*/
|
*/
|
||||||
|
if (j == defaultbg)
|
||||||
|
xclearwin();
|
||||||
redraw();
|
redraw();
|
||||||
}
|
}
|
||||||
return;
|
return;
|
||||||
|
1
win.h
1
win.h
@ -37,3 +37,4 @@ void xsetpointermotion(int);
|
|||||||
void xsetsel(char *);
|
void xsetsel(char *);
|
||||||
int xstartdraw(void);
|
int xstartdraw(void);
|
||||||
void xximspot(int, int);
|
void xximspot(int, int);
|
||||||
|
void xclearwin(void);
|
||||||
|
Loading…
Reference in New Issue
Block a user