summaryrefslogtreecommitdiff
path: root/wm.h
diff options
context:
space:
mode:
authorAnselm R. Garbe <garbeam@wmii.de>2006-07-11 18:15:11 +0200
committerAnselm R. Garbe <garbeam@wmii.de>2006-07-11 18:15:11 +0200
commit586f66331d1105be03c42e6faeae1672b974a98a (patch)
treeb5a4f654969baf431ac0f10dad2354d70e7efc2b /wm.h
parent33996500763b04119a6867dfa4040a4236c21a41 (diff)
added bar event timer
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);