diff options
author | Anselm R. Garbe <garbeam@gmail.com> | 2007-07-26 20:15:02 +0200 |
---|---|---|
committer | Anselm R. Garbe <garbeam@gmail.com> | 2007-07-26 20:15:02 +0200 |
commit | 154497541d1378d3aded02df06029de94d8af586 (patch) | |
tree | 59d001879dd8ec2a9d202bfe0ebd1d48990dec4d /event.c | |
parent | e0cfe076485e7df266b53eaffaa093d9c94a61a7 (diff) | |
download | dwm-154497541d1378d3aded02df06029de94d8af586.tar.gz |
applied Jeroen's {clean,spell}.diff patches, thanks Jeroen!
Diffstat (limited to 'event.c')
-rw-r--r-- | event.c | 8 |
1 files changed, 2 insertions, 6 deletions
@@ -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) |