|
|
@ -111,7 +111,7 @@ typedef struct { |
|
|
|
regex_t *tagregex; |
|
|
|
regex_t *tagregex; |
|
|
|
} Regs; |
|
|
|
} Regs; |
|
|
|
|
|
|
|
|
|
|
|
/* functions */ |
|
|
|
/* function declarations */ |
|
|
|
void applyrules(Client *c); |
|
|
|
void applyrules(Client *c); |
|
|
|
void arrange(void); |
|
|
|
void arrange(void); |
|
|
|
void attach(Client *c); |
|
|
|
void attach(Client *c); |
|
|
@ -236,6 +236,8 @@ Regs *regs = NULL; |
|
|
|
unsigned int ntags = sizeof tags / sizeof tags[0]; |
|
|
|
unsigned int ntags = sizeof tags / sizeof tags[0]; |
|
|
|
Bool seltags[sizeof tags / sizeof tags[0]] = {[0] = True}; |
|
|
|
Bool seltags[sizeof tags / sizeof tags[0]] = {[0] = True}; |
|
|
|
Bool prevtags[sizeof tags / sizeof tags[0]] = {[0] = True}; |
|
|
|
Bool prevtags[sizeof tags / sizeof tags[0]] = {[0] = True}; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/* function implementations */ |
|
|
|
void |
|
|
|
void |
|
|
|
applyrules(Client *c) { |
|
|
|
applyrules(Client *c) { |
|
|
|
static char buf[512]; |
|
|
|
static char buf[512]; |
|
|
|