dwm-meillo
diff wm.h @ 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 | 359b6e563b95 |
line diff
1.1 --- a/wm.h Tue Jul 11 16:14:22 2006 +0200 1.2 +++ b/wm.h Tue Jul 11 18:15:11 2006 +0200 1.3 @@ -42,8 +42,8 @@ 1.4 struct Key { 1.5 unsigned long mod; 1.6 KeySym keysym; 1.7 - void (*func)(char *arg); 1.8 - char *arg; 1.9 + void (*func)(void *aux); 1.10 + void *aux; 1.11 }; 1.12 1.13 extern Display *dpy; 1.14 @@ -64,8 +64,9 @@ 1.15 extern void draw_bar(); 1.16 1.17 /* cmd.c */ 1.18 -extern void run(char *arg); 1.19 -extern void quit(char *arg); 1.20 +extern void run(void *aux); 1.21 +extern void quit(void *aux); 1.22 +extern void kill(void *aux); 1.23 1.24 /* client.c */ 1.25 extern void manage(Window w, XWindowAttributes *wa);