From 3033d45d1c6d6f6c1a3fdfa546399f7f02f4a3e0 Mon Sep 17 00:00:00 2001 From: "arg@suckless.org" Date: Mon, 29 Oct 2007 12:42:58 +0100 Subject: sanders patch for b2 toggle --- dwm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- cgit v1.2.3-13-gbd6f