summaryrefslogtreecommitdiffstats
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 */
41enum { CurNormal, CurResize, CurMove, CurLast }; /* cursor */ 41enum { CurNormal, CurResize, CurMove, CurLast }; /* cursor */
42enum { ColBorder, ColFG, ColBG, ColLast }; /* color */ 42enum { ColBorder, ColFG, ColBG, ColLast }; /* color */
43 43
44typedef struct {
45 int x, y, w, h;
46 unsigned long norm[ColLast];
47 unsigned long sel[ColLast];
48 Drawable drawable;
49 GC gc;
50 struct Fnt {
51 int ascent;
52 int descent;
53 int height;
54 XFontSet set;
55 XFontStruct *xfont;
56 } font;
57} DC; /* draw context */
58
59typedef struct Client Client; 44typedef struct Client Client;
60struct Client { 45struct Client {
61 char name[256]; 46 char name[256];
@@ -74,6 +59,21 @@ struct Client {
74}; 59};
75 60
76typedef struct { 61typedef struct {
62 int x, y, w, h;
63 unsigned long norm[ColLast];
64 unsigned long sel[ColLast];
65 Drawable drawable;
66 GC gc;
67 struct {
68 int ascent;
69 int descent;
70 int height;
71 XFontSet set;
72 XFontStruct *xfont;
73 } font;
74} DC; /* draw context */
75
76typedef struct {
77 const char *symbol; 77 const char *symbol;
78 void (*arrange)(void); 78 void (*arrange)(void);
79} Layout; 79} Layout;