about summary refs log tree commit diff stats
path: root/dwm.h
diff options
context:
space:
mode:
authorAnselm R. Garbe <garbeam@wmii.de>2006-07-15 16:30:50 +0200
committerAnselm R. Garbe <garbeam@wmii.de>2006-07-15 16:30:50 +0200
commitdba23062bad40afb1a90f60b6897cf9e1ca5035b (patch)
treea2823b36177e027cf3aa82f764c37cfc6eea4503 /dwm.h
parentc0705eeb65733e8c5091e47d5bdc701a0779a949 (diff)
downloaddwm-dba23062bad40afb1a90f60b6897cf9e1ca5035b.tar.gz
rearranged several stuff
Diffstat (limited to 'dwm.h')
-rw-r--r--dwm.h36
1 files changed, 22 insertions, 14 deletions
diff --git a/dwm.h b/dwm.h
index def66bf..c171805 100644
--- a/dwm.h
+++ b/dwm.h
@@ -66,7 +66,7 @@ struct Client {
 	int grav;
 	unsigned int border;
 	long flags; 
-	Bool floating;
+	Bool dofloat;
 	Window win;
 	Window title;
 	Client *next;
@@ -77,7 +77,7 @@ struct Rule {
 	const char *class;
 	const char *instance;
 	char *tags[TLast];
-	Bool floating;
+	Bool dofloat;
 };
 
 struct Key {
@@ -103,6 +103,7 @@ extern DC dc;
 extern Client *clients, *sel;
 
 /* client.c */
+extern void ban(Client *c);
 extern void manage(Window w, XWindowAttributes *wa);
 extern void unmanage(Client *c);
 extern Client *getclient(Window w);
@@ -110,14 +111,18 @@ extern void focus(Client *c);
 extern void settitle(Client *c);
 extern void resize(Client *c, Bool inc);
 extern void setsize(Client *c);
-extern Client *gettitle(Window w);
+extern Client *getctitle(Window w);
 extern void higher(Client *c);
 extern void lower(Client *c);
 extern void gravitate(Client *c, Bool invert);
-extern void ban(Client *c);
-extern Client *getnext(Client *c);
+extern void zoom(Arg *arg);
+extern void maximize(Arg *arg);
+extern void focusprev(Arg *arg);
+extern void focusnext(Arg *arg);
+extern void killclient(Arg *arg);
 
 /* draw.c */
+extern void drawall();
 extern void drawstatus();
 extern void drawtitle(Client *c);
 extern void drawtext(const char *text, Bool invert, Bool border);
@@ -127,22 +132,25 @@ extern unsigned int textnw(char *text, unsigned int len);
 extern unsigned int textw(char *text);
 extern unsigned int texth(void);
 
-/* key.c */
+/* event.c */
 extern void grabkeys();
-extern void keypress(XEvent *e);
 
 /* main.c */
-extern int xerror(Display *dsply, XErrorEvent *e);
-extern void sendevent(Window w, Atom a, long value);
-extern int proto(Window w);
 extern void quit(Arg *arg);
+extern int xerror(Display *dsply, XErrorEvent *ee);
+extern void sendevent(Window w, Atom a, long value);
+extern int getproto(Window w);
 
-/* screen.c */
-extern void floating(Arg *arg);
-extern void tiling(Arg *arg);
+/* tag.c */
+extern Client *getnext(Client *c);
+extern void settags(Client *c);
+extern void dofloat(Arg *arg);
+extern void dotile(Arg *arg);
 extern void view(Arg *arg);
+extern void appendtag(Arg *arg);
+extern void replacetag(Arg *arg);
 
 /* util.c */
-extern void error(const char *errstr, ...);
+extern void eprint(const char *errstr, ...);
 extern void *emallocz(unsigned int size);
 extern void spawn(Arg *arg);
hots/commit/WWW/Library/Implementation/HTRules.h?id=0bafa3a38906a8ffc183d758baa774d8b23a9fa4'>0bafa3a3 ^
af9be28b ^
0bafa3a3 ^
d326f24d ^
1fc1d8af ^



















e087f6d4
8ce6b560 ^

e087f6d4




08fc6e5c ^
e087f6d4


08fc6e5c ^
e087f6d4

1fc1d8af ^

e087f6d4





08fc6e5c ^
e087f6d4
08fc6e5c ^
e087f6d4
c7bfda90 ^







08fc6e5c ^
e087f6d4
08fc6e5c ^
e087f6d4
08fc6e5c ^
e087f6d4
08fc6e5c ^
e087f6d4
08fc6e5c ^
e087f6d4
1fc1d8af ^



e087f6d4





08fc6e5c ^
e087f6d4
08fc6e5c ^
e087f6d4

1fc1d8af ^
e087f6d4





08fc6e5c ^
e087f6d4


08fc6e5c ^
e087f6d4
08fc6e5c ^
e087f6d4
08fc6e5c ^
e087f6d4
38fbf2f2 ^
e087f6d4
08fc6e5c ^
e087f6d4
1fc1d8af ^
e087f6d4





08fc6e5c ^
e087f6d4
08fc6e5c ^
e087f6d4

08fc6e5c ^
e087f6d4
1fc1d8af ^
e087f6d4





08fc6e5c ^
e087f6d4
08fc6e5c ^
e087f6d4
08fc6e5c ^

e087f6d4
08fc6e5c ^
e087f6d4
08fc6e5c ^
e087f6d4

1fc1d8af ^
d326f24d ^
e087f6d4



1fc1d8af ^




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
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169