summaryrefslogtreecommitdiffstats
path: root/dwm.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--dwm.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/dwm.c b/dwm.c
index 79d7214..67fa0a7 100644
--- a/dwm.c
+++ b/dwm.c
@@ -346,7 +346,7 @@ buttonpress(XEvent *e) {
346 movemouse(c); 346 movemouse(c);
347 } 347 }
348 else if(ev->button == Button2) { 348 else if(ev->button == Button2) {
349 if(ISTILE && !c->isfixed && c->isfloating) 349 if((ISTILE) && !c->isfixed && c->isfloating)
350 togglefloating(NULL); 350 togglefloating(NULL);
351 else 351 else
352 zoom(NULL); 352 zoom(NULL);
@@ -1402,7 +1402,7 @@ void
1402setmwfact(const char *arg) { 1402setmwfact(const char *arg) {
1403 double delta; 1403 double delta;
1404 1404
1405 if(!ISTILE) 1405 if(!(ISTILE))
1406 return; 1406 return;
1407 /* arg handling, manipulate mwfact */ 1407 /* arg handling, manipulate mwfact */
1408 if(arg == NULL) 1408 if(arg == NULL)
@@ -1863,7 +1863,7 @@ void
1863zoom(const char *arg) { 1863zoom(const char *arg) {
1864 Client *c; 1864 Client *c;
1865 1865
1866 if(!sel || !ISTILE || sel->isfloating) 1866 if(!sel || !(ISTILE) || sel->isfloating)
1867 return; 1867 return;
1868 if((c = sel) == nexttiled(clients)) 1868 if((c = sel) == nexttiled(clients))
1869 if(!(c = nexttiled(c->next))) 1869 if(!(c = nexttiled(c->next)))