parenthized use of ISTILE macro in dwm.c
7b65b763
1 file(s) · +3 −3
| 346 | 346 | movemouse(c); |
|
| 347 | 347 | } |
|
| 348 | 348 | else if(ev->button == Button2) { |
|
| 349 | - | if(ISTILE && !c->isfixed && c->isfloating) |
|
| 349 | + | if((ISTILE) && !c->isfixed && c->isfloating) |
|
| 350 | 350 | togglefloating(NULL); |
|
| 351 | 351 | else |
|
| 352 | 352 | zoom(NULL); |
|
| 1402 | 1402 | setmwfact(const char *arg) { |
|
| 1403 | 1403 | double delta; |
|
| 1404 | 1404 | ||
| 1405 | - | if(!ISTILE) |
|
| 1405 | + | if(!(ISTILE)) |
|
| 1406 | 1406 | return; |
|
| 1407 | 1407 | /* arg handling, manipulate mwfact */ |
|
| 1408 | 1408 | if(arg == NULL) |
|
| 1863 | 1863 | zoom(const char *arg) { |
|
| 1864 | 1864 | Client *c; |
|
| 1865 | 1865 | ||
| 1866 | - | if(!sel || !ISTILE || sel->isfloating) |
|
| 1866 | + | if(!sel || !(ISTILE) || sel->isfloating) |
|
| 1867 | 1867 | return; |
|
| 1868 | 1868 | if((c = sel) == nexttiled(clients)) |
|
| 1869 | 1869 | if(!(c = nexttiled(c->next))) |
|