[wiki] [sites] dmenu border patch 5.2 fixed || Nik-Nothing
commit 129470ed710244b387e56306a3e18e6b3d391d93
Author: Nik-Nothing <niktopel_AT_gmail.com>
Date: Fri Jan 20 11:23:35 2023 +0000
dmenu border patch 5.2 fixed
diff --git a/tools.suckless.org/dmenu/patches/border/dmenu-border-5.2.diff b/tools.suckless.org/dmenu/patches/border/dmenu-border-5.2.diff
index ed43d126..515c3c88 100644
--- a/tools.suckless.org/dmenu/patches/border/dmenu-border-5.2.diff
+++ b/tools.suckless.org/dmenu/patches/border/dmenu-border-5.2.diff
_AT_@ -10,7 +10,7 @@ index 1edb647..dd3eb31 100644
+/* Size of the window border */
+static unsigned int border_width = 0;
diff --git a/dmenu.c b/dmenu.c
-index 27b7a30..5bcdbf1 100644
+index 27b7a30..7c130fc 100644
--- a/dmenu.c
+++ b/dmenu.c
_AT_@ -684,9 +684,11 @@ setup(void)
_AT_@ -30,8 +30,8 @@ index 27b7a30..5bcdbf1 100644
colors[SchemeSel][ColFg] = argv[++i];
else if (!strcmp(argv[i], "-w")) /* embedding window id */
embed = argv[++i];
-++ else if (!strcmp(argv[i], "-bw"))
-++ border_width = atoi(argv[++i]); /* border width */
++ else if (!strcmp(argv[i], "-bw"))
++ border_width = atoi(argv[++i]); /* border width */
else
usage();
Received on Fri Jan 20 2023 - 12:23:56 CET
This archive was generated by hypermail 2.3.0
: Fri Jan 20 2023 - 12:24:46 CET