about summary refs log tree commit diff stats
path: root/dwm.h
diff options
context:
space:
mode:
authorAnselm R. Garbe <arg@suckless.org>2007-02-19 14:44:05 +0100
committerAnselm R. Garbe <arg@suckless.org>2007-02-19 14:44:05 +0100
commit4cdbd523e5f02f7cf392dda8690f95ce6eaff9dd (patch)
tree57f5e5322fafedd526fc2b3f46804729bfdcc865 /dwm.h
parentb3d7e07f18f0f69f8c3b3542615da62dfc4c6175 (diff)
downloaddwm-4cdbd523e5f02f7cf392dda8690f95ce6eaff9dd.tar.gz
merged tag.c, view.c and tile.c to manage.c
Diffstat (limited to 'dwm.h')
-rw-r--r--dwm.h36
1 files changed, 15 insertions, 21 deletions
diff --git a/dwm.h b/dwm.h
index 4a820b0..318ce9e 100644
--- a/dwm.h
+++ b/dwm.h
@@ -101,7 +101,6 @@ extern Window root, barwin;
 /* client.c */
 extern void configure(Client *c);		/* send synthetic configure event */
 extern void focus(Client *c);			/* focus c, c may be NULL */
-extern Bool isprotodel(Client *c);		/* returns True if c->win supports wmatom[WMDelete] */
 extern void killclient(Arg *arg);		/* kill c nicely */
 extern void manage(Window w, XWindowAttributes *wa);	/* manage new client */
 extern void resize(Client *c, int x, int y,
@@ -125,36 +124,31 @@ extern void quit(Arg *arg);			/* quit dwm nicely */
 extern void sendevent(Window w, Atom a, long value);	/* send synthetic event to w */
 extern int xerror(Display *dsply, XErrorEvent *ee);	/* dwm's X error handler */
 
-/* tag.c */
-extern void compileregexps(void);		/* initialize regexps of rules defined in config.h */
-extern void settags(Client *c, Client *trans);	/* sets tags of c */
-extern void tag(Arg *arg);			/* tags c with arg's index */
-extern void toggletag(Arg *arg);		/* toggles c tags with arg's index */
-
-/* tile.c */
-extern void dotile(void);			/* arranges all windows tiled */
-extern void incnmaster(Arg *arg);		/* increments nmaster with arg's index value */
-extern void resizemaster(Arg *arg);		/* resizes the master percent with arg's index value */
-extern void zoom(Arg *arg);			/* zooms the focused client to master area, arg is ignored */
-
-/* util.c */
-extern void *emallocz(unsigned int size);	/* allocates zero-initialized memory, exits on error */
-extern void eprint(const char *errstr, ...);	/* prints errstr and exits with 1 */
-extern void spawn(Arg *arg);			/* forks a new subprocess with to arg's cmd */
-
-/* view.c */
+/* manage.c */
 extern void attach(Client *c);			/* attaches c to global client list */
 extern void attachstack(Client *c);		/* attaches client to stack */
-extern void dofloat(void);			/* arranges all windows floating */
+extern void compileregexps(void);		/* initialize regexps of rules defined in config.h */
 extern void detach(Client *c);			/* detaches c from global client list */
 extern void detachstack(Client *c);		/* detaches client from stack */
+extern void dofloat(void);			/* arranges all windows floating */
+extern void dotile(void);			/* arranges all windows tiled */
 extern void focusnext(Arg *arg);		/* focuses next visible client, arg is ignored  */
 extern void focusprev(Arg *arg);		/* focuses previous visible client, arg is ignored */
 extern Client *getclient(Window w);		/* return client of w */
+extern void incnmaster(Arg *arg);		/* increments nmaster with arg's index value */
 extern Bool isvisible(Client *c);		/* returns True if client is visible */
-extern Client *nextmanaged(Client *c);		/* returns managed successor of c */
+extern void resizemaster(Arg *arg);		/* resizes the master percent with arg's index value */
 extern void restack(void);			/* restores z layers of all clients */
+extern void settags(Client *c, Client *trans);	/* sets tags of c */
+extern void tag(Arg *arg);			/* tags c with arg's index */
 extern void togglefloat(Arg *arg);		/* toggles focusesd client between floating/non-floating state */
 extern void togglemode(Arg *arg);		/* toggles global arrange function (dotile/dofloat) */
+extern void toggletag(Arg *arg);		/* toggles c tags with arg's index */
 extern void toggleview(Arg *arg);		/* toggles the tag with arg's index (in)visible */
 extern void view(Arg *arg);			/* views the tag with arg's index */
+extern void zoom(Arg *arg);			/* zooms the focused client to master area, arg is ignored */
+
+/* util.c */
+extern void *emallocz(unsigned int size);	/* allocates zero-initialized memory, exits on error */
+extern void eprint(const char *errstr, ...);	/* prints errstr and exits with 1 */
+extern void spawn(Arg *arg);			/* forks a new subprocess with to arg's cmd */
div class='alt'>
614ae232 ^
614ae232 ^
















652e99fd ^

652e99fd ^
2215a379 ^

652e99fd ^
3bb1f124 ^
3487100c ^
81190251 ^
652e99fd ^
81190251 ^
652e99fd ^
652e99fd ^
3d7d070b ^
e3f2ca7d ^
3d7d070b ^

ea98a8b0 ^
3d7d070b ^


e3f2ca7d ^
3d7d070b ^
3487100c ^


ea98a8b0 ^
3487100c ^











3d7d070b ^

3d7d070b ^

2215a379 ^

3d7d070b ^

ea98a8b0 ^
3d7d070b ^


ea98a8b0 ^
3d7d070b ^


ea98a8b0 ^
3d7d070b ^


ea98a8b0 ^
3d7d070b ^


ea98a8b0 ^
3d7d070b ^








3bb1f124 ^
3487100c ^
3d7d070b ^
3487100c ^


3d7d070b ^
81190251 ^
3d7d070b ^
1fabb61b ^















3d7d070b ^
af51fa3c ^
a564b024 ^

a564b024 ^
a564b024 ^
2215a379 ^

a564b024 ^
3bb1f124 ^
a564b024 ^
c40660b0 ^

a564b024 ^
81190251 ^
a564b024 ^
a564b024 ^

af51fa3c ^

af51fa3c ^
af51fa3c ^
2215a379 ^

af51fa3c ^
3bb1f124 ^
3487100c ^





af51fa3c ^
ebafc192 ^
af51fa3c ^
81190251 ^
af51fa3c ^
af51fa3c ^

7c5ece24 ^



















e3f2ca7d ^
7c5ece24 ^
























e3f2ca7d ^
7c5ece24 ^

























e3f2ca7d ^
7c5ece24 ^




af51fa3c ^
81190251 ^

af51fa3c ^
d2662a6f ^
2215a379 ^

af51fa3c ^
3bb1f124 ^
3487100c ^





af51fa3c ^
d2662a6f ^
af51fa3c ^
81190251 ^
af51fa3c ^
38d8d8d9 ^



38d8d8d9 ^
d2662a6f ^
2215a379 ^

38d8d8d9 ^
3bb1f124 ^
3487100c ^





38d8d8d9 ^
d2662a6f ^
38d8d8d9 ^
81190251 ^
38d8d8d9 ^
af51fa3c ^



af51fa3c ^

d2662a6f ^
2215a379 ^

af51fa3c ^
3bb1f124 ^
3487100c ^





af51fa3c ^
d2662a6f ^
af51fa3c ^
81190251 ^
af51fa3c ^
af51fa3c ^
a8ecbccc ^


a8ecbccc ^
a8ecbccc ^
2215a379 ^

a8ecbccc ^
3bb1f124 ^
3487100c ^


a8ecbccc ^
a8ecbccc ^

81190251 ^
a8ecbccc ^
a8ecbccc ^

9d957e5f ^

9d957e5f ^
9d957e5f ^
2215a379 ^

9d957e5f ^
3bb1f124 ^
3487100c ^


9d957e5f ^
95c48a0f ^

81190251 ^
95c48a0f ^
a564b024 ^
7c5ece24 ^

















e3f2ca7d ^
7c5ece24 ^






















e3f2ca7d ^
7c5ece24 ^



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
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413