summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--dwm.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/dwm.c b/dwm.c
index 020adb3..48e0dd1 100644
--- a/dwm.c
+++ b/dwm.c
@@ -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();