From 82be28998576083b3e66ed436eb90ceba819c60a Mon Sep 17 00:00:00 2001 From: "arg@f00b4r" Date: Tue, 24 Jul 2007 18:25:01 +0200 Subject: applied dwm-windowscrolling patch --- event.c | 4 ++++ 1 file changed, 4 insertions(+) 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); -- cgit v1.2.3-70-g09d2