regex_t *tagregex;
} Regs;
-/* functions */
+/* function declarations */
void applyrules(Client *c);
void arrange(void);
void attach(Client *c);
unsigned int ntags = sizeof tags / sizeof tags[0];
Bool seltags[sizeof tags / sizeof tags[0]] = {[0] = True};
Bool prevtags[sizeof tags / sizeof tags[0]] = {[0] = True};
+
+/* function implementations */
void
applyrules(Client *c) {
static char buf[512];
movemouse(c);
}
else if(ev->button == Button2) {
- if(ISTILE && !c->isfixed && c->isfloating)
+ if((ISTILE) && !c->isfixed && c->isfloating)
togglefloating(NULL);
else
zoom(NULL);
setmwfact(const char *arg) {
double delta;
- if(!ISTILE)
+ if(!(ISTILE))
return;
/* arg handling, manipulate mwfact */
if(arg == NULL)
zoom(const char *arg) {
Client *c;
- if(!sel || !ISTILE || sel->isfloating)
+ if(!sel || !(ISTILE) || sel->isfloating)
return;
if((c = sel) == nexttiled(clients))
if(!(c = nexttiled(c->next)))