comparison util.c @ 49:466591c2f967

implemented tagging a client
author Anselm R. Garbe <garbeam@wmii.de>
date Thu, 13 Jul 2006 17:09:35 +0200
parents 989178822938
children f14858218641
comparison
equal deleted inserted replaced
48:ceff29af8c7b 49:466591c2f967
73 *p1 = *p2; 73 *p1 = *p2;
74 *p2 = tmp; 74 *p2 = tmp;
75 } 75 }
76 76
77 void 77 void
78 spawn(char *argv[]) 78 spawn(Arg *arg)
79 { 79 {
80 char **argv = (char **)arg->argv;
80 if(!argv || !argv[0]) 81 if(!argv || !argv[0])
81 return; 82 return;
82 if(fork() == 0) { 83 if(fork() == 0) {
83 if(fork() == 0) { 84 if(fork() == 0) {
84 if(dpy) 85 if(dpy)