menu.c
changeset 11 ea9c08ec4b48
parent 9 d567f430a81d
child 13 5cc5e55a132d
equal deleted inserted replaced
10:703255003abb 11:ea9c08ec4b48
   354 	int i;
   354 	int i;
   355 	XSetWindowAttributes wa;
   355 	XSetWindowAttributes wa;
   356 	char *maxname;
   356 	char *maxname;
   357 	XEvent ev;
   357 	XEvent ev;
   358 
   358 
   359 	char buf[256];
       
   360 
       
   361 	pipe_spawn(buf, sizeof(buf), NULL, STATUSCMD);
       
   362 	fputs(buf, stderr);
       
   363 
       
   364 	return 0;
       
   365 
       
   366 	/* command line args */
   359 	/* command line args */
   367 	for(i = 1; i < argc; i++) {
   360 	for(i = 1; i < argc; i++) {
   368 		if (argv[i][0] == '-')
   361 		if (argv[i][0] == '-')
   369 			switch (argv[i][1]) {
   362 			switch (argv[i][1]) {
   370 			case 'v':
   363 			case 'v':