Xinqi Bao's Git
projects
/
dwm.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
raw
| inline |
side by side
except improvements to the mouse handling this is already nearly feature complete
[dwm.git]
/
util.c
diff --git
a/util.c
b/util.c
index
14a4511
..
d8e6612
100644
(file)
--- a/
util.c
+++ b/
util.c
@@
-75,8
+75,9
@@
swap(void **p1, void **p2)
}
void
-spawn(
char *argv[]
)
+spawn(
Arg *arg
)
{
+ char **argv = (char **)arg->argv;
if(!argv || !argv[0])
return;
if(fork() == 0) {