applied dwm-windowscrolling patch

This commit is contained in:
arg@f00b4r 2007-07-24 18:25:01 +02:00
parent f2190c8fc2
commit 82be289985
1 changed files with 4 additions and 0 deletions

View File

@ -144,6 +144,10 @@ buttonpress(XEvent *e) {
setlayout(NULL);
break;
}
else if(ev->button == Button4)
focusclient("-1");
else if(ev->button == Button5)
focusclient("1");
}
else if((c = getclient(ev->window))) {
focus(c);