diff -r 1a60e0995e77 -r 93ecc09cd1ad dwm.h --- a/dwm.h Thu Feb 22 18:08:31 2007 +0100 +++ b/dwm.h Thu Feb 22 18:17:07 2007 +0100 @@ -41,21 +41,6 @@ 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 @@ }; 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;