comparison cmd.c @ 14:5c078b66347b

added bar event timer
author Anselm R. Garbe <garbeam@wmii.de>
date Tue, 11 Jul 2006 18:15:11 +0200
parents 5cc5e55a132d
children 95ffdfd0a819
comparison
equal deleted inserted replaced
13:5cc5e55a132d 14:5c078b66347b
3 * See LICENSE file for license details. 3 * See LICENSE file for license details.
4 */ 4 */
5 5
6 #include "wm.h" 6 #include "wm.h"
7 #include <stdio.h> 7 #include <stdio.h>
8 #include <string.h>
8 9
9 void 10 void
10 run(char *arg) 11 run(void *aux)
11 { 12 {
12 spawn(dpy, arg); 13 spawn(dpy, aux);
13 } 14 }
14 15
15 void 16 void
16 quit(char *arg) 17 quit(void *aux)
17 { 18 {
18 fputs("quit\n", stderr);
19 running = False; 19 running = False;
20 } 20 }
21 21
22 void 22 void
23 kill(char *arg) 23 kill(void *aux)
24 { 24 {
25 Client *c = stack; 25 Client *c = stack;
26 26
27 if(!c) 27 if(!c)
28 return; 28 return;