From: arg@f00b4r Date: Tue, 24 Jul 2007 16:25:01 +0000 (+0200) Subject: applied dwm-windowscrolling patch X-Git-Url: https://jasonwoof.com/gitweb/?p=dwm.git;a=commitdiff_plain;h=82be28998576083b3e66ed436eb90ceba819c60a applied dwm-windowscrolling patch --- diff --git a/event.c b/event.c index ad4e271..3f06ea7 100644 --- a/event.c +++ b/event.c @@ -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);