fixed missing else branch

keyboard
Anselm R Garbe 17 years ago
parent 4adfdc9d95
commit 508922b90d
  1. 1
      dwm.c

@ -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) {

Loading…
Cancel
Save