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.h15
1 files changed, 4 insertions, 11 deletions
diff --git a/wm.h b/wm.h
index c4d65ea..01bbee4 100644
--- a/wm.h
+++ b/wm.h
@@ -20,11 +20,10 @@ enum { CurNormal, CurResize, CurMove, CurInput, CurLast };
 enum { RFloat, RGrid, RLast };
 
 typedef struct Client Client;
-typedef struct Tag Tag;
 
 struct Client {
-	Tag *tag;
 	char name[256];
+	char tag[256];
 	int proto;
 	unsigned int border;
 	Bool fixedsize;
@@ -37,27 +36,21 @@ struct Client {
 	Client *snext;
 };
 
-struct Tag {
-	char name[256];
-	Client *stack;
-	XRectangle r;
-	Tag *next;
-	Tag *cnext;
-};
-
 extern Display *dpy;
 extern Window root, barwin;
 extern Atom wm_atom[WMLast], net_atom[NetLast];
 extern Cursor cursor[CurLast];
 extern XRectangle rect, barrect;
 extern Bool running;
+extern Bool grid;
 extern void (*handler[LASTEvent]) (XEvent *);
 
 extern int screen, sel_screen;
 extern unsigned int lock_mask, numlock_mask;
-extern char *bartext;
+extern char *bartext, tag[256];
 
 extern Brush brush;
+extern Client *client;
 
 /* bar.c */
 extern void draw_bar();
erate on state object' href='/akkartik/text.love/commit/file.lua?id=48162b981689c58e54ad44f45a9ba4b70a1c68d7'>48162b9 ^
de495ae ^


528c64d ^

de495ae ^




de495ae ^






bb9e23a ^



1a6f533 ^
bb9e23a ^

1a6f533 ^
bb9e23a ^
10c9618 ^
de495ae ^
bb9e23a ^
1a6f533 ^
bb9e23a ^
de495ae ^

bb9e23a ^
1a6f533 ^
f49e2fd ^
26033f4 ^

10c9618 ^


de495ae ^









fbad3dd ^
de495ae ^

fbad3dd ^
10c9618 ^
de495ae ^




fbad3dd ^
de495ae ^
fbad3dd ^
de495ae ^
fbad3dd ^
26033f4 ^

10c9618 ^


de495ae ^



46d4c4d ^




37f1313 ^
46d4c4d ^


37f1313 ^
46d4c4d ^
37f1313 ^



46d4c4d ^
37f1313 ^
46d4c4d ^














37f1313 ^
46d4c4d ^





1a6f533 ^
46d4c4d ^

1a6f533 ^
46d4c4d ^



1a6f533 ^
46d4c4d ^



1a6f533 ^
f49e2fd ^
26033f4 ^

46d4c4d ^





37f1313 ^
46d4c4d ^
9a41c7c ^






d1dd3e4 ^
9a41c7c ^









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