fixed missing else branch

This commit is contained in:
Anselm R Garbe 2008-02-11 20:51:04 +00:00
parent 4adfdc9d95
commit 508922b90d

1
dwm.c
View file

@ -374,6 +374,7 @@ buttonpress(XEvent *e) {
else if(ev->button == Button2) { else if(ev->button == Button2) {
if((floating != m->layout->arrange) && c->isfloating) if((floating != m->layout->arrange) && c->isfloating)
togglefloating(NULL); togglefloating(NULL);
else
zoom(NULL); zoom(NULL);
} }
else if(ev->button == Button3 && !c->isfixed) { else if(ev->button == Button3 && !c->isfixed) {