summaryrefslogtreecommitdiff
path: root/st.c
diff options
context:
space:
mode:
authorTristan Simas <tristan.simas@mail.mcgill.ca>2020-05-13 17:06:41 -0400
committerTristan Simas <tristan.simas@mail.mcgill.ca>2020-05-13 17:06:41 -0400
commit24fa39b8618887a0e6bfeda1b83391361887cc21 (patch)
treebc3f4eb6fff34e3476bdcb490f7c1d6a79026b2e /st.c
parentc6c7c8541dde87b87d492465a1af3c585e5e19a0 (diff)
added the xclearwin patch to fix dirty borders after changing colors
Diffstat (limited to 'st.c')
-rw-r--r--st.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/st.c b/st.c
index 618e11b..0e5e3f5 100644
--- a/st.c
+++ b/st.c
@@ -1970,6 +1970,8 @@ strhandle(void)
* TODO if defaultbg color is changed, borders
* are dirty
*/
+ if (j == defaultbg)
+ xclearwin();
redraw();
}
return;