# HG changeset patch # User arg@suckless.org # Date 1193125127 -7200 # Node ID 5fa681ba70ae6d5cc30371672adc2ef730160c2c # Parent cdd1db1c525b5809b296de3cd2a4e2f61c6a2ec5 parenthized use of ISTILE macro in dwm.c diff -r cdd1db1c525b -r 5fa681ba70ae dwm.c --- a/dwm.c Fri Oct 19 09:56:51 2007 +0200 +++ b/dwm.c Tue Oct 23 09:38:47 2007 +0200 @@ -346,7 +346,7 @@ movemouse(c); } else if(ev->button == Button2) { - if(ISTILE && !c->isfixed && c->isfloating) + if((ISTILE) && !c->isfixed && c->isfloating) togglefloating(NULL); else zoom(NULL); @@ -1402,7 +1402,7 @@ setmwfact(const char *arg) { double delta; - if(!ISTILE) + if(!(ISTILE)) return; /* arg handling, manipulate mwfact */ if(arg == NULL) @@ -1863,7 +1863,7 @@ 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)))