tapplied dwm-windowscrolling patch - dwm - [fork] customized build of dwm, the … | |
git clone git://src.adamsgaard.dk/dwm | |
Log | |
Files | |
Refs | |
README | |
LICENSE | |
--- | |
commit 82be28998576083b3e66ed436eb90ceba819c60a | |
parent f2190c8fc21a7d2408b3025ad92c853c035351cc | |
Author: arg@f00b4r <unknown> | |
Date: Tue, 24 Jul 2007 18:25:01 +0200 | |
applied dwm-windowscrolling patch | |
Diffstat: | |
M event.c | 4 ++++ | |
1 file changed, 4 insertions(+), 0 deletions(-) | |
--- | |
diff --git a/event.c b/event.c | |
t@@ -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); |