Titlebar/Stipple: Add option stipple_{normal, focus} to choose stipple color.

This commit is contained in:
Martin Duquesnoy
2009-04-21 16:58:01 +02:00
parent 2b406a54c6
commit 5be5b19266
9 changed files with 40 additions and 23 deletions

View File

@@ -108,9 +108,11 @@ typedef struct
Window left, right, top, bottom;
/* Border color */
uint dark, light;
} border;
uint bg;
char *fg;
uint stipple_color;
XRectangle geo;
Bool mapped, stipple, bord;
} BarWindow;
@@ -316,7 +318,11 @@ typedef struct
int height;
char *fg_normal;
char *fg_focus;
Bool stipple;
struct
{
Bool active;
struct { uint normal, focus; } colors;
} stipple;
MouseBinding *mouse;
int nmouse;
Button *button;