applied dwm-windowscrolling patch

This commit is contained in:
arg@f00b4r 2007-07-24 18:25:01 +02:00
parent f2190c8fc2
commit 82be289985

View file

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