sites

public wiki contents of suckless.org
git clone git://git.suckless.org/sites
Log | Files | Refs

commit 23382f6bd8ad33f2de6e633354f899528d346518
parent 804c727fbf96b617701c6ef86f6434b4c178bd24
Author: bit9tream <bit6tream@cock.li>
Date:   Thu, 14 May 2020 12:43:09 +0300

fixed not executing autostart_exec() function

Diffstat:
Mdwm.suckless.org/patches/cool_autostart/dwm-cool-autostart-6.2.diff | 10+++++++++-
1 file changed, 9 insertions(+), 1 deletion(-)

diff --git a/dwm.suckless.org/patches/cool_autostart/dwm-cool-autostart-6.2.diff b/dwm.suckless.org/patches/cool_autostart/dwm-cool-autostart-6.2.diff @@ -14,7 +14,7 @@ index 1c0b587..83f5275 100644 static const char *tags[] = { "1", "2", "3", "4", "5", "6", "7", "8", "9" }; diff --git a/dwm.c b/dwm.c -index 4465af1..59836d7 100644 +index 4465af1..d65cf57 100644 --- a/dwm.c +++ b/dwm.c @@ -233,6 +233,7 @@ static int xerror(Display *dpy, XErrorEvent *ee); @@ -61,3 +61,11 @@ index 4465af1..59836d7 100644 running = 0; } +@@ -2136,6 +2159,7 @@ main(int argc, char *argv[]) + if (!(dpy = XOpenDisplay(NULL))) + die("dwm: cannot open display"); + checkotherwm(); ++ autostart_exec(); + setup(); + #ifdef __OpenBSD__ + if (pledge("stdio rpath proc exec", NULL) == -1)