summaryrefslogtreecommitdiffstats
path: root/dwm.h
diff options
context:
space:
mode:
Diffstat (limited to 'dwm.h')
-rw-r--r--dwm.h11
1 files changed, 7 insertions, 4 deletions
diff --git a/dwm.h b/dwm.h
index 9d2d959..c23c86c 100644
--- a/dwm.h
+++ b/dwm.h
@@ -23,6 +23,9 @@ enum { WMProtocols, WMDelete, WMLast };
23/* cursor */ 23/* cursor */
24enum { CurNormal, CurResize, CurMove, CurLast }; 24enum { CurNormal, CurResize, CurMove, CurLast };
25 25
26/* color */
27enum { ColFG, ColBG, ColLast };
28
26/* window corners */ 29/* window corners */
27typedef enum { TopLeft, TopRight, BotLeft, BotRight } Corner; 30typedef enum { TopLeft, TopRight, BotLeft, BotRight } Corner;
28 31
@@ -36,9 +39,9 @@ typedef struct {
36 39
37typedef struct { /* draw context */ 40typedef 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 {
66extern const char *tags[]; 69extern const char *tags[];
67extern char stext[1024]; 70extern char stext[1024];
68extern int screen, sx, sy, sw, sh, bx, by, bw, bh, mw; 71extern int screen, sx, sy, sw, sh, bx, by, bw, bh, mw;
69extern unsigned int ntags, numlockmask; 72extern unsigned int ntags, numlockmask, modew;
70extern void (*handler[LASTEvent])(XEvent *); 73extern void (*handler[LASTEvent])(XEvent *);
71extern void (*arrange)(Arg *); 74extern void (*arrange)(Arg *);
72extern Atom wmatom[WMLast], netatom[NetLast]; 75extern Atom wmatom[WMLast], netatom[NetLast];