From 5f55af40aecbce7aa1bf01bdca50d92014c02a5c Mon Sep 17 00:00:00 2001 From: anselm@anselm1 Date: Mon, 19 May 2008 20:13:24 +0100 Subject: simplification --- dwm.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'dwm.c') diff --git a/dwm.c b/dwm.c index 235940e..5095b62 100644 --- a/dwm.c +++ b/dwm.c @@ -342,10 +342,8 @@ buttonpress(XEvent *e) { restack(); movemouse(c); } - else if(ev->button == Button2) { - if(lt->arrange && c->isfloating) - togglefloating(NULL); - } + else if(ev->button == Button2) + togglefloating(NULL); else if(ev->button == Button3 && !c->isfixed) { restack(); resizemouse(c); -- cgit v1.2.3