[wiki] [sites] Revert "dmenu border patch 5.2 fixed" || Nik-Nothing

From: <git_AT_suckless.org>
Date: Fri, 20 Jan 2023 13:45:48 +0100

commit d5f802ac27b6396c8befd7c9ca85e1e8af42276b
Author: Nik-Nothing <niktopel_AT_gmail.com>
Date: Fri Jan 20 12:45:14 2023 +0000

    Revert "dmenu border patch 5.2 fixed"
    
    This reverts commit 129470ed710244b387e56306a3e18e6b3d391d93.

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 515c3c88..ed43d126 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..7c130fc 100644
+index 27b7a30..5bcdbf1 100644
 --- a/dmenu.c
 +++ b/dmenu.c
 _AT_@ -684,9 +684,11 @@ setup(void)
_AT_@ -30,8 +30,8 @@ index 27b7a30..7c130fc 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 - 13:45:48 CET

This archive was generated by hypermail 2.3.0 : Fri Jan 20 2023 - 13:48:46 CET