X-Git-Url: https://jasonwoof.com/gitweb/?a=blobdiff_plain;f=dwm.h;h=c23c86caad1bc7f683df438db6dbf76413529684;hb=aa471f2d65688f8cf4944c073ff05224bfac8a9c;hp=7db0f546c70615b12e2fe94dae33ab30b725311c;hpb=2e0c767d74da024c3cd4dbd524e1364039704451;p=dwm.git diff --git a/dwm.h b/dwm.h index 7db0f54..c23c86c 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,8 +39,9 @@ typedef struct { typedef struct { /* draw context */ int x, y, w, h; - unsigned long bg[2]; - unsigned long fg[2]; + unsigned long norm[ColLast]; + unsigned long sel[ColLast]; + unsigned long status[ColLast]; Drawable drawable; Fnt font; GC gc; @@ -65,7 +69,7 @@ struct Client { extern const char *tags[]; extern char stext[1024]; extern int screen, sx, sy, sw, sh, bx, by, bw, bh, mw; -extern unsigned int ntags, numlockmask; +extern unsigned int ntags, numlockmask, modew; extern void (*handler[LASTEvent])(XEvent *); extern void (*arrange)(Arg *); extern Atom wmatom[WMLast], netatom[NetLast];