# HG changeset patch # User Anselm R. Garbe # Date 1172164111 -3600 # Node ID 1a60e0995e779483034dcfe60b4c9ec2b9954ad6 # Parent 5dbe50521b57470f783585a0d395839f8fe71edb made Fnt an anonymous inner struct diff -r 5dbe50521b57 -r 1a60e0995e77 dwm.h --- a/dwm.h Thu Feb 22 17:58:45 2007 +0100 +++ b/dwm.h Thu Feb 22 18:08:31 2007 +0100 @@ -42,20 +42,18 @@ enum { ColBorder, ColFG, ColBG, ColLast }; /* color */ typedef struct { - int ascent; - int descent; - int height; - XFontSet set; - XFontStruct *xfont; -} Fnt; - -typedef struct { int x, y, w, h; unsigned long norm[ColLast]; unsigned long sel[ColLast]; Drawable drawable; - Fnt font; GC gc; + struct Fnt { + int ascent; + int descent; + int height; + XFontSet set; + XFontStruct *xfont; + } font; } DC; /* draw context */ typedef struct Client Client;