JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
added bar event timer
[dwm.git] / wm.h
diff --git a/wm.h b/wm.h
index b9ba8f7..24662fa 100644 (file)
--- 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);