applied Jeroen's {clean,spell}.diff patches, thanks Jeroen! - dwm - dynamic window manager HTML git clone https://git.parazyd.org/dwm DIR Log DIR Files DIR Refs DIR README DIR LICENSE --- DIR commit 154497541d1378d3aded02df06029de94d8af586 DIR parent e0cfe076485e7df266b53eaffaa093d9c94a61a7 HTML Author: Anselm R. Garbe <garbeam@gmail.com> Date: Thu, 26 Jul 2007 20:15:02 +0200 applied Jeroen's {clean,spell}.diff patches, thanks Jeroen! Diffstat: M event.c | 8 ++------ M tag.c | 2 +- 2 files changed, 3 insertions(+), 7 deletions(-) --- DIR diff --git a/event.c b/event.c @@ -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) DIR diff --git a/tag.c b/tag.c @@ -106,7 +106,7 @@ shiftview(const char *arg) { for(i = 0; !seltag[i]; i++); for(j = i + 1; j < ntags && !seltag[j]; j++); if(j < ntags) - return; /* more then one tag selected */ + return; /* more than one tag selected */ seltag[i] = False; i += arg ? atoi(arg) : 0; if(i < 0)