Commit 508922b

Anselm R Garbe <garbeam@gmail.com>
2008-02-11 15:51:04
fixed missing else branch
1 parent 4adfdc9
Changed files (1)
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();