summaryrefslogtreecommitdiffstats
path: root/event.c
diff options
context:
space:
mode:
authorAnselm R. Garbe <garbeam@gmail.com>2007-07-26 20:15:02 +0200
committerAnselm R. Garbe <garbeam@gmail.com>2007-07-26 20:15:02 +0200
commit154497541d1378d3aded02df06029de94d8af586 (patch)
tree59d001879dd8ec2a9d202bfe0ebd1d48990dec4d /event.c
parentapplied Jeroen Schot's shiftview patch (diff)
downloaddwm-154497541d1378d3aded02df06029de94d8af586.tar.gz
dwm-154497541d1378d3aded02df06029de94d8af586.zip
applied Jeroen's {clean,spell}.diff patches, thanks Jeroen!
Diffstat (limited to '')
-rw-r--r--event.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/event.c b/event.c
index ac96df1..1454b0b 100644
--- a/event.c
+++ b/event.c
@@ -142,12 +142,8 @@ buttonpress(XEvent *e) {
142 return; 142 return;
143 } 143 }
144 } 144 }
145 if(ev->x < x + blw) 145 if(ev->x < x + blw && ev->button == Button1)
146 switch(ev->button) { 146 setlayout(NULL);
147 case Button1:
148 setlayout(NULL);
149 break;
150 }
151 else if(ev->button == Button4) 147 else if(ev->button == Button4)
152 focusclient("-1"); 148 focusclient("-1");
153 else if(ev->button == Button5) 149 else if(ev->button == Button5)