diff options
| -rw-r--r-- | dwm.c | 3 |
1 files changed, 2 insertions, 1 deletions
| @@ -374,7 +374,8 @@ buttonpress(XEvent *e) { | |||
| 374 | else if(ev->button == Button2) { | 374 | else if(ev->button == Button2) { |
| 375 | if((floating != m->layout->arrange) && c->isfloating) | 375 | if((floating != m->layout->arrange) && c->isfloating) |
| 376 | togglefloating(NULL); | 376 | togglefloating(NULL); |
| 377 | zoom(NULL); | 377 | else |
| 378 | zoom(NULL); | ||
| 378 | } | 379 | } |
| 379 | else if(ev->button == Button3 && !c->isfixed) { | 380 | else if(ev->button == Button3 && !c->isfixed) { |
| 380 | restack(); | 381 | restack(); |
