aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorarg@suckless.org <unknown>2007-10-29 12:42:58 +0100
committerarg@suckless.org <unknown>2007-10-29 12:42:58 +0100
commit3033d45d1c6d6f6c1a3fdfa546399f7f02f4a3e0 (patch)
tree39534056f8e022bd59e077ed2ba8dee3a125e664
parent34e7872c89613356293d554970d9d56adc4b0a4e (diff)
downloaddwm-3033d45d1c6d6f6c1a3fdfa546399f7f02f4a3e0.tar.gz
dwm-3033d45d1c6d6f6c1a3fdfa546399f7f02f4a3e0.tar.bz2
dwm-3033d45d1c6d6f6c1a3fdfa546399f7f02f4a3e0.zip
sanders patch for b2 toggle
-rw-r--r--dwm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/dwm.c b/dwm.c
index 8933e8e..e07574a 100644
--- a/dwm.c
+++ b/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);