From 586f66331d1105be03c42e6faeae1672b974a98a Mon Sep 17 00:00:00 2001 From: "Anselm R. Garbe" Date: Tue, 11 Jul 2006 18:15:11 +0200 Subject: added bar event timer --- wm.h | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'wm.h') diff --git a/wm.h b/wm.h index b9ba8f7..24662fa 100644 --- a/wm.h +++ b/wm.h @@ -42,8 +42,8 @@ struct Client { struct Key { unsigned long mod; KeySym keysym; - void (*func)(char *arg); - char *arg; + void (*func)(void *aux); + void *aux; }; extern Display *dpy; @@ -64,8 +64,9 @@ extern Client *clients, *stack; extern void draw_bar(); /* cmd.c */ -extern void run(char *arg); -extern void quit(char *arg); +extern void run(void *aux); +extern void quit(void *aux); +extern void kill(void *aux); /* client.c */ extern void manage(Window w, XWindowAttributes *wa); -- cgit 1.4.1-2-gfad0