commit 82be28998576083b3e66ed436eb90ceba819c60a
parent f2190c8fc21a7d2408b3025ad92c853c035351cc
Author: arg@f00b4r <unknown>
Date: Tue, 24 Jul 2007 18:25:01 +0200
applied dwm-windowscrolling patch
Diffstat:
1 file changed, 4 insertions(+), 0 deletions(-)
diff --git 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);