diff options
author | Brandon <brandon@btkoch.xyz> | 2023-12-21 17:20:25 -0500 |
---|---|---|
committer | Brandon <brandon@btkoch.xyz> | 2023-12-21 17:20:25 -0500 |
commit | 29c7adbb1ef69bff90af8aaecec09f5c68a24400 (patch) | |
tree | bd0c67bd78cafdb9b96f685d8eefc2b954d735d5 /patch/dwm-fixborders-6.2.diff | |
parent | b40b8bec316624e93ce2aa21e42fcd0d63b18c11 (diff) |
clean repo
Diffstat (limited to 'patch/dwm-fixborders-6.2.diff')
-rw-r--r-- | patch/dwm-fixborders-6.2.diff | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/patch/dwm-fixborders-6.2.diff b/patch/dwm-fixborders-6.2.diff new file mode 100644 index 0000000..0a17b9e --- /dev/null +++ b/patch/dwm-fixborders-6.2.diff @@ -0,0 +1,27 @@ +From 1529909466206016f2101457bbf37c67195714c8 Mon Sep 17 00:00:00 2001 +From: Jakub Leszczak <szatan@gecc.xyz> +Date: Fri, 22 Nov 2019 10:46:53 +0800 +Subject: [PATCH] Fix transparent borders + +When terminal has transparency then its borders also become transparent. +Fix it by removing transparency from any pixels drawn. +--- + drw.c | 2 ++ + 1 file changed, 2 insertions(+) + +diff --git a/drw.c b/drw.c +index 8fd1ca4..490a592 100644 +--- a/drw.c ++++ b/drw.c +@@ -202,6 +202,8 @@ drw_clr_create(Drw *drw, Clr *dest, const char *clrname) + DefaultColormap(drw->dpy, drw->screen), + clrname, dest)) + die("error, cannot allocate color '%s'", clrname); ++ ++ dest->pixel |= 0xff << 24; + } + + /* Wrapper to create color schemes. The caller has to call free(3) on the +-- +2.26.2 + |