changeset: 923:ac143dc35905
tag: tip
user: arg_AT_f00b4r
date: Tue Jul 24 18:25:01 2007 +0200
summary: applied dwm-windowscrolling patch
diff -r dffe81e7e32e -r ac143dc35905 event.c
--- a/event.c Sat Jul 14 21:14:15 2007 +0200
+++ b/event.c Tue Jul 24 18:25:01 2007 +0200
@@ -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);
Received on Tue Jul 24 2007 - 18:28:32 UTC
This archive was generated by hypermail 2.2.0 : Sun Jul 13 2008 - 15:57:40 UTC