feat(spawn): remove the spawn function
Window Manager is just to manage the windows, nothing else.
This commit is contained in:
parent
ab0aea1d09
commit
0dce78d77f
1 changed files with 0 additions and 14 deletions
|
@ -1654,20 +1654,6 @@ sigchld(int unused) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
|
||||||
spawn(const Arg *arg) {
|
|
||||||
if (arg->v == dmenucmd)
|
|
||||||
dmenumon[0] = '0' + selmon->num;
|
|
||||||
if (fork() == 0) {
|
|
||||||
if (dpy)
|
|
||||||
close(ConnectionNumber(dpy));
|
|
||||||
setsid();
|
|
||||||
execvp(((char **) arg->v)[0], (char **) arg->v);
|
|
||||||
fprintf(stderr, "archy-dwm: execvp %s", ((char **) arg->v)[0]);
|
|
||||||
perror(" failed");
|
|
||||||
exit(EXIT_SUCCESS);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
void
|
void
|
||||||
tag(const Arg *arg) {
|
tag(const Arg *arg) {
|
||||||
|
|
Loading…
Reference in a new issue