From: arg@suckless.org Date: Mon, 29 Oct 2007 11:42:58 +0000 (+0100) Subject: sanders patch for b2 toggle X-Git-Url: https://git.danieliu.xyz/?a=commitdiff_plain;h=3033d45d1c6d6f6c1a3fdfa546399f7f02f4a3e0;p=dwm.git sanders patch for b2 toggle --- 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);