fixed missing else branch

master
Anselm R Garbe 2008-02-11 20:51:04 +00:00
parent 4adfdc9d95
commit 508922b90d
1 changed files with 2 additions and 1 deletions

3
dwm.c
View File

@ -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();