mirror of
https://git.suckless.org/dwm
synced 2024-12-27 03:16:32 +00:00
sanders patch for b2 toggle
This commit is contained in:
parent
34e7872c89
commit
3033d45d1c
1 changed files with 1 additions and 1 deletions
2
dwm.c
2
dwm.c
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue