applied Jeroen's {clean,spell}.diff patches, thanks Jeroen!

This commit is contained in:
Anselm R. Garbe
2007-07-26 20:15:02 +02:00
parent e0cfe07648
commit 154497541d
2 changed files with 3 additions and 7 deletions

View File

@ -142,12 +142,8 @@ buttonpress(XEvent *e) {
return;
}
}
if(ev->x < x + blw)
switch(ev->button) {
case Button1:
setlayout(NULL);
break;
}
if(ev->x < x + blw && ev->button == Button1)
setlayout(NULL);
else if(ev->button == Button4)
focusclient("-1");
else if(ev->button == Button5)