summaryrefslogtreecommitdiff
path: root/patches/dwm-fixborders-6.2.diff
diff options
context:
space:
mode:
authorxAlpharax <42233094+xAlpharax@users.noreply.github.com>2023-08-16 18:44:43 +0300
committerxAlpharax <42233094+xAlpharax@users.noreply.github.com>2023-08-16 18:44:43 +0300
commit1dec076282eae69d44e5aa3168ae8ed0e7bfb94d (patch)
treebba9b2448b4d07c7df79898d31ec6c6327a21bf0 /patches/dwm-fixborders-6.2.diff
parent15346749a4ce015906ed1a98f60c335cf8c07745 (diff)
Patched dwm according to current configuration.
Changes to be committed: modified: config.def.h new file: config.def.h.orig new file: config.def.h.rej new file: config.h new file: drw.c.orig modified: dwm.1 new file: dwm.1.orig modified: dwm.c new file: dwm.c.orig new file: dwm.c.rej new file: movestack.c new file: patches/dwm-actualfullscreen-20211013-cb3f58a.diff new file: patches/dwm-adjacenttag-skipvacant-6.2.diff new file: patches/dwm-alttagsdecoration-2020010304-cb3f58a.diff new file: patches/dwm-alwayscenter-20200625-f04cac6.diff new file: patches/dwm-attachbottom-6.3.diff new file: patches/dwm-fixborders-6.2.diff new file: patches/dwm-movestack-20211115-a786211.diff new file: patches/dwm-pertag-20200914-61bb8b2.diff new file: patches/dwm-uselessgap-20211119-58414bee958f2.diff
Diffstat (limited to 'patches/dwm-fixborders-6.2.diff')
-rw-r--r--patches/dwm-fixborders-6.2.diff27
1 files changed, 27 insertions, 0 deletions
diff --git a/patches/dwm-fixborders-6.2.diff b/patches/dwm-fixborders-6.2.diff
new file mode 100644
index 0000000..0a17b9e
--- /dev/null
+++ b/patches/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
+