about summary refs log tree commit diff stats
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);
lame the previous revision' href='/akspecs/ranger/blame/doc/pydoc/ranger.defaults.options.html?h=v1.2.2&id=6c867217763b0527776bad87493d4b950287caf0'>^
a614f048 ^
34a60763 ^
a614f048 ^
f07bb12f ^





4e9450f9 ^
f07bb12f ^
c776804d ^
a614f048 ^

c776804d ^
34a60763 ^
c776804d ^
62cd83ba ^
f07bb12f ^
c776804d ^
34a60763 ^
a614f048 ^
f07bb12f ^
c776804d ^
34a60763 ^
f07bb12f ^
34a60763 ^
a614f048 ^


c776804d ^
f07bb12f ^
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66