X-Git-Url: https://jasonwoof.com/gitweb/?p=dwm.git;a=blobdiff_plain;f=dwm.c;h=48e0dd1a4294c7c45dcf5fa42b8ce33a5f254e89;hp=020adb3b10f303cfb8db4f31b1f10f6e24bf68c7;hb=508922b90db66b88cfb66e81b8d48065d13f6bc1;hpb=4adfdc9d95b2ec6603deab153697e2296e3c9c97 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) { else if(ev->button == Button2) { if((floating != m->layout->arrange) && c->isfloating) togglefloating(NULL); - zoom(NULL); + else + zoom(NULL); } else if(ev->button == Button3 && !c->isfixed) { restack();