diff -r e50c3eb0f55a dwm.c --- a/dwm.c Thu Oct 11 20:50:01 2007 +0200 +++ b/dwm.c Mon Oct 15 16:41:28 2007 -0400 @@ -317,6 +317,14 @@ buttonpress(XEvent *e) { } if((ev->x < x + blw) && ev->button == Button1) setlayout(NULL); + if(ev->x > x + blw) + switch(ev->button) { + case Button1: zoom(NULL); break; + case Button2: togglefloating(NULL); break; + case Button3: killclient(NULL); break; + case Button4: focusprev(NULL); break; + case Button5: focusnext(NULL); break; + } } else if((c = getclient(ev->window))) { focus(c);