21 enum { WMProtocols, WMDelete, WMLast }; |
21 enum { WMProtocols, WMDelete, WMLast }; |
22 |
22 |
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 |
29 typedef struct { |
32 typedef struct { |
30 int ascent; |
33 int ascent; |
64 }; |
67 }; |
65 |
68 |
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]; |
73 extern Bool running, issel, *seltag; |
76 extern Bool running, issel, *seltag; |
74 extern Client *clients, *sel; |
77 extern Client *clients, *sel; |