aboutsummaryrefslogtreecommitdiffstats
path: root/dwm.c
diff options
context:
space:
mode:
authoranselm@anselm1 <unknown>2008-05-19 20:13:24 +0100
committeranselm@anselm1 <unknown>2008-05-19 20:13:24 +0100
commit5f55af40aecbce7aa1bf01bdca50d92014c02a5c (patch)
tree39a6bfdb380c321c7d2f55e4b795bd96ffbb493c /dwm.c
parentf806a17692a145fb6fcc59ca4c2c199f7975f40a (diff)
downloaddwm-5f55af40aecbce7aa1bf01bdca50d92014c02a5c.tar.gz
simplification
Diffstat (limited to 'dwm.c')
-rw-r--r--dwm.c6
1 files changed, 2 insertions, 4 deletions
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);
remember that computers suck.