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();
d0d1defa27'>62cd83ba ^
f07bb12f ^
34a60763 ^
f07bb12f ^
4c13e1f2 ^
34a60763 ^
b3556b21 ^
f07bb12f ^

62cd83ba ^










f07bb12f ^




62cd83ba ^

34a60763 ^

62cd83ba ^





2144cf26 ^
62cd83ba ^
f07bb12f ^





62cd83ba ^
f07bb12f ^





62cd83ba ^
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
67
68
69
70
71
72
73
74
75