diff options
Diffstat (limited to '')
| -rw-r--r-- | dwm.h | 11 |
1 files changed, 7 insertions, 4 deletions
| @@ -23,6 +23,9 @@ enum { WMProtocols, WMDelete, WMLast }; | |||
| 23 | /* cursor */ | 23 | /* cursor */ |
| 24 | enum { CurNormal, CurResize, CurMove, CurLast }; | 24 | enum { CurNormal, CurResize, CurMove, CurLast }; |
| 25 | 25 | ||
| 26 | /* color */ | ||
| 27 | enum { ColFG, ColBG, ColLast }; | ||
| 28 | |||
| 26 | /* window corners */ | 29 | /* window corners */ |
| 27 | typedef enum { TopLeft, TopRight, BotLeft, BotRight } Corner; | 30 | typedef enum { TopLeft, TopRight, BotLeft, BotRight } Corner; |
| 28 | 31 | ||
| @@ -36,9 +39,9 @@ typedef struct { | |||
| 36 | 39 | ||
| 37 | typedef struct { /* draw context */ | 40 | typedef struct { /* draw context */ |
| 38 | int x, y, w, h; | 41 | int x, y, w, h; |
| 39 | unsigned long bg; | 42 | unsigned long norm[ColLast]; |
| 40 | unsigned long fg; | 43 | unsigned long sel[ColLast]; |
| 41 | unsigned long border; | 44 | unsigned long status[ColLast]; |
| 42 | Drawable drawable; | 45 | Drawable drawable; |
| 43 | Fnt font; | 46 | Fnt font; |
| 44 | GC gc; | 47 | GC gc; |
| @@ -66,7 +69,7 @@ struct Client { | |||
| 66 | extern const char *tags[]; | 69 | extern const char *tags[]; |
| 67 | extern char stext[1024]; | 70 | extern char stext[1024]; |
| 68 | extern int screen, sx, sy, sw, sh, bx, by, bw, bh, mw; | 71 | extern int screen, sx, sy, sw, sh, bx, by, bw, bh, mw; |
| 69 | extern unsigned int ntags, numlockmask; | 72 | extern unsigned int ntags, numlockmask, modew; |
| 70 | extern void (*handler[LASTEvent])(XEvent *); | 73 | extern void (*handler[LASTEvent])(XEvent *); |
| 71 | extern void (*arrange)(Arg *); | 74 | extern void (*arrange)(Arg *); |
| 72 | extern Atom wmatom[WMLast], netatom[NetLast]; | 75 | extern Atom wmatom[WMLast], netatom[NetLast]; |
