diff options
Diffstat (limited to 'dwm.c')
| -rw-r--r-- | dwm.c | 6 |
1 files changed, 3 insertions, 3 deletions
| @@ -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 | |||
| 1402 | setmwfact(const char *arg) { | 1402 | setmwfact(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 | |||
| 1863 | zoom(const char *arg) { | 1863 | zoom(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))) |
