X-Git-Url: https://jasonwoof.com/gitweb/?a=blobdiff_plain;f=dwm.h;h=4d23cab2b273003d9fb6e16cc2816e789208a26a;hb=5cf362c7d0b6b2afb0149598245afd3b8a4b3cee;hp=4e9c6b56ab8c450c704b6e445654bdca19e7df99;hpb=b5159dfd2f552696b049b95e0d368a2c33a1002a;p=dwm.git diff --git a/dwm.h b/dwm.h index 4e9c6b5..4d23cab 100644 --- a/dwm.h +++ b/dwm.h @@ -23,6 +23,9 @@ enum { WMProtocols, WMDelete, WMLast }; /* cursor */ enum { CurNormal, CurResize, CurMove, CurLast }; +/* color */ +enum { ColFG, ColBG, ColLast }; + /* window corners */ typedef enum { TopLeft, TopRight, BotLeft, BotRight } Corner; @@ -36,9 +39,9 @@ typedef struct { typedef struct { /* draw context */ int x, y, w, h; - unsigned long bg; - unsigned long fg; - unsigned long border; + unsigned long norm[ColLast]; + unsigned long sel[ColLast]; + unsigned long status[ColLast]; Drawable drawable; Fnt font; GC gc; @@ -60,12 +63,12 @@ struct Client { Client *next; Client *prev; Window win; - Window title; + Window twin; }; extern const char *tags[]; extern char stext[1024]; -extern int screen, sx, sy, sw, sh, bx, by, bw, bh, mw; +extern int bx, by, bw, bh, bmw, mw, screen, sx, sy, sw, sh; extern unsigned int ntags, numlockmask; extern void (*handler[LASTEvent])(XEvent *); extern void (*arrange)(Arg *);