about summary refs log tree commit diff stats
path: root/main.c
diff options
context:
space:
mode:
authorAnselm R. Garbe <garbeam@wmii.de>2006-07-13 17:09:35 +0200
committerAnselm R. Garbe <garbeam@wmii.de>2006-07-13 17:09:35 +0200
commitc47da143bdf5b4e3924a411f42648d4b3e86ff00 (patch)
tree4f777c8623600e707a8631e03925007f2a7cf57e /main.c
parentb72588746f3d1548283ca98f90961b4f8c2e2800 (diff)
downloaddwm-c47da143bdf5b4e3924a411f42648d4b3e86ff00.tar.gz
implemented tagging a client
Diffstat (limited to 'main.c')
-rw-r--r--main.c11
1 files changed, 6 insertions, 5 deletions
diff --git a/main.c b/main.c
index b63d07e..543d156 100644
--- a/main.c
+++ b/main.c
@@ -38,8 +38,9 @@ int tsel = Tdev; /* default tag */
 int screen, sx, sy, sw, sh, th;
 
 DC dc = {0};
-Client *clients = NULL;
-Client *stack = NULL;
+Client *cstart = NULL;
+Client *cend = NULL;
+Client *csel = NULL;
 
 static Bool other_wm_running;
 static const char version[] =
@@ -168,13 +169,13 @@ startup_error_handler(Display *dpy, XErrorEvent *error)
 static void
 cleanup()
 {
-	while(clients)
-		unmanage(clients);
+	while(csel)
+		unmanage(csel);
 	XSetInputFocus(dpy, PointerRoot, RevertToPointerRoot, CurrentTime);
 }
 
 void
-quit(void *aux)
+quit(Arg *arg)
 {
 	running = False;
 }
68a57436d171edc3831'>^
77a0f68 ^
80e891a ^
60b351b ^


cab3771 ^


80e891a ^

db1b2cd ^

80e891a ^









60b351b ^

80e891a ^

60b351b ^
80e891a ^
60b351b ^

de122b1 ^
77a0f68 ^
de122b1 ^
80e891a ^
77a0f68 ^

d67c8a6 ^


60b351b ^
d67c8a6 ^


60b351b ^
1170893 ^
db1b2cd ^


de122b1 ^







60b351b ^
80e891a ^
db1b2cd ^

60b351b ^
77a0f68 ^
80e891a ^

80e891a ^



60b351b ^
77a0f68 ^
cab3771 ^
60b351b ^
0b37441 ^









60b351b ^
80e891a ^
60b351b ^

db1b2cd ^


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