dwm update in progress

This commit is contained in:
2023-05-09 20:21:49 +02:00
parent 61775f18e4
commit e65b5d797a
330 changed files with 26354 additions and 16 deletions

View File

@@ -3985,6 +3985,8 @@ void
spawn(const Arg *arg)
#endif // RIODRAW_PATCH
{
struct sigaction sa;
#if RIODRAW_PATCH
pid_t pid;
#endif // RIODRAW_PATCH
@@ -4050,6 +4052,12 @@ spawn(const Arg *arg)
}
#endif // SPAWNCMD_PATCH
setsid();
sigemptyset(&sa.sa_mask);
sa.sa_flags = 0;
sa.sa_handler = SIG_DFL;
sigaction(SIGCHLD, &sa, NULL);
execvp(((char **)arg->v)[0], (char **)arg->v);
die("dwm: execvp '%s' failed:", ((char **)arg->v)[0]);
}