about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-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;
nus <andinus@nand.sh> 2021-09-26 12:54:20 +0530 committer Andinus <andinus@nand.sh> 2021-09-26 12:54:20 +0530 Add client' href='/andinus/MyMedMemoir/commit/client/src/components/Records.tsx?id=551cf7164eae529eb14db478cb1f2938329690b0'>551cf71 ^
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