fixed missing else branch
This commit is contained in:
parent
4adfdc9d95
commit
508922b90d
3
dwm.c
3
dwm.c
@ -374,7 +374,8 @@ 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);
|
||||||
zoom(NULL);
|
else
|
||||||
|
zoom(NULL);
|
||||||
}
|
}
|
||||||
else if(ev->button == Button3 && !c->isfixed) {
|
else if(ev->button == Button3 && !c->isfixed) {
|
||||||
restack();
|
restack();
|
||||||
|
Loading…
Reference in New Issue
Block a user