made Fnt an anonymous inner struct fe5acb93
Anselm R. Garbe · 2007-02-22 18:08 1 file(s) · +7 −9
dwm.h +7 −9
42 42
enum { ColBorder, ColFG, ColBG, ColLast };		/* color */
43 43
44 44
typedef struct {
45 -
	int ascent;
46 -
	int descent;
47 -
	int height;
48 -
	XFontSet set;
49 -
	XFontStruct *xfont;
50 -
} Fnt;
51 -
52 -
typedef struct {
53 45
	int x, y, w, h;
54 46
	unsigned long norm[ColLast];
55 47
	unsigned long sel[ColLast];
56 48
	Drawable drawable;
57 -
	Fnt font;
58 49
	GC gc;
50 +
	struct Fnt {
51 +
		int ascent;
52 +
		int descent;
53 +
		int height;
54 +
		XFontSet set;
55 +
		XFontStruct *xfont;
56 +
	} font;
59 57
} DC; /* draw context */
60 58
61 59
typedef struct Client Client;