[wiki] [sites] fixed not executing autostart_exec() function || bit9tream

From: <git_AT_suckless.org>
Date: Thu, 14 May 2020 11:44:31 +0200

commit 23382f6bd8ad33f2de6e633354f899528d346518
Author: bit9tream <bit6tream_AT_cock.li>
Date: Thu May 14 12:43:09 2020 +0300

    fixed not executing autostart_exec() function

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
index 34109299..be8b92e5 100644
--- 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
_AT_@ -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
 _AT_@ -233,6 +233,7 @@ static int xerror(Display *dpy, XErrorEvent *ee);
_AT_@ -61,3 +61,11 @@ index 4465af1..59836d7 100644
          running = 0;
  }
  
+_AT_@ -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)
Received on Thu May 14 2020 - 11:44:31 CEST

This archive was generated by hypermail 2.3.0 : Thu May 14 2020 - 11:48:49 CEST