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-22 18:17:07 +0100
committerAnselm R. Garbe <arg@suckless.org>2007-02-22 18:17:07 +0100
commit8d111632f51a23e6991306cc006dc936d362ab9e (patch)
tree78443fd6be05e44c2088f61fa9478e7521e7ef41 /dwm.h
parentfe5acb939a5764901b4fa46e1822eb5958752a1a (diff)
downloaddwm-8d111632f51a23e6991306cc006dc936d362ab9e.tar.gz
made Fnt an anonymous inner struct
Diffstat (limited to 'dwm.h')
-rw-r--r--dwm.h30
1 files changed, 15 insertions, 15 deletions
diff --git a/dwm.h b/dwm.h
index ce9707a..f94ec8a 100644
--- a/dwm.h
+++ b/dwm.h
@@ -41,21 +41,6 @@ enum { WMProtocols, WMDelete, WMState, WMLast };	/* default atoms */
 enum { CurNormal, CurResize, CurMove, CurLast };	/* cursor */
 enum { ColBorder, ColFG, ColBG, ColLast };		/* color */
 
-typedef struct {
-	int x, y, w, h;
-	unsigned long norm[ColLast];
-	unsigned long sel[ColLast];
-	Drawable drawable;
-	GC gc;
-	struct Fnt {
-		int ascent;
-		int descent;
-		int height;
-		XFontSet set;
-		XFontStruct *xfont;
-	} font;
-} DC; /* draw context */
-
 typedef struct Client Client;
 struct Client {
 	char name[256];
@@ -74,6 +59,21 @@ struct Client {
 };
 
 typedef struct {
+	int x, y, w, h;
+	unsigned long norm[ColLast];
+	unsigned long sel[ColLast];
+	Drawable drawable;
+	GC gc;
+	struct {
+		int ascent;
+		int descent;
+		int height;
+		XFontSet set;
+		XFontStruct *xfont;
+	} font;
+} DC; /* draw context */
+
+typedef struct {
 	const char *symbol;
 	void (*arrange)(void);
 } Layout;
/commit/vimrc.vim?h=hlt&id=b3cdcdd44f6b8db053e4814351fbf04fefb7d7cf'>b3cdcdd4 ^
a9817844 ^
a9817844 ^
bff79aeb ^

a9817844 ^
b96af395 ^






bc394aaf ^

3dfeaaff ^













694d8485 ^
14da19a2 ^
694d8485 ^
14da19a2 ^
694d8485 ^
bc394aaf ^
857ba192 ^




399f5c13 ^
857ba192 ^
399f5c13 ^
5e5f569c ^
674cf583 ^




ed4e6453 ^




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