summaryrefslogtreecommitdiff
path: root/x.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 /x.c
parentc6c7c8541dde87b87d492465a1af3c585e5e19a0 (diff)
added the xclearwin patch to fix dirty borders after changing colors
Diffstat (limited to 'x.c')
-rw-r--r--x.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/x.c b/x.c
index 47e4dea..55f4a61 100644
--- a/x.c
+++ b/x.c
@@ -832,6 +832,13 @@ xclear(int x1, int y1, int x2, int y2)
}
void
+xclearwin(void)
+{
+ xclear(0, 0, win.w, win.h);
+}
+
+
+void
xhints(void)
{
XClassHint class = {opt_name ? opt_name : "st",