sanders patch for b2 toggle

This commit is contained in:
arg@suckless.org 2007-10-29 12:42:58 +01:00
parent 34e7872c89
commit 3033d45d1c
1 changed files with 1 additions and 1 deletions

2
dwm.c
View File

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