sanders patch for b2 toggle
This commit is contained in:
parent
34e7872c89
commit
3033d45d1c
2
dwm.c
2
dwm.c
@ -340,7 +340,7 @@ buttonpress(XEvent *e) {
|
|||||||
movemouse(c);
|
movemouse(c);
|
||||||
}
|
}
|
||||||
else if(ev->button == Button2) {
|
else if(ev->button == Button2) {
|
||||||
if((floating != layout->arrange) && !c->isfixed && c->isfloating)
|
if((floating != layout->arrange) && c->isfloating)
|
||||||
togglefloating(NULL);
|
togglefloating(NULL);
|
||||||
else
|
else
|
||||||
zoom(NULL);
|
zoom(NULL);
|
||||||
|
Loading…
Reference in New Issue
Block a user