JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
sanders patch for b2 toggle
authorarg@suckless.org <unknown>
Mon, 29 Oct 2007 11:42:58 +0000 (12:42 +0100)
committerarg@suckless.org <unknown>
Mon, 29 Oct 2007 11:42:58 +0000 (12:42 +0100)
dwm.c

diff --git a/dwm.c b/dwm.c
index 8933e8e..e07574a 100644 (file)
--- 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);