/* cursor */
enum { CurNormal, CurResize, CurMove, CurLast };
+/* color */
+enum { ColFG, ColBG, ColLast };
+
/* window corners */
typedef enum { TopLeft, TopRight, BotLeft, BotRight } Corner;
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;
int basew, baseh, incw, inch, maxw, maxh, minw, minh;
int grav;
long flags;
- unsigned int border;
+ unsigned int border, weight;
Bool isfloat;
Bool ismax;
Bool *tags;
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 *);
extern void spawn(Arg *arg);
/* view.c */
+extern void detach(Client *c);
extern void dofloat(Arg *arg);
extern void dotile(Arg *arg);
extern void focusnext(Arg *arg);