summaryrefslogtreecommitdiff
path: root/wm.h
diff options
context:
space:
mode:
Diffstat (limited to 'wm.h')
-rw-r--r--wm.h9
1 files changed, 5 insertions, 4 deletions
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);