pinosaur
/
dwm.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f2190c8
)
applied dwm-windowscrolling patch
author
arg@f00b4r
<unknown>
Tue, 24 Jul 2007 16:25:01 +0000
(18:25 +0200)
committer
arg@f00b4r
<unknown>
Tue, 24 Jul 2007 16:25:01 +0000
(18:25 +0200)
event.c
patch
|
blob
|
history
diff --git
a/event.c
b/event.c
index
ad4e271
..
3f06ea7
100644
(file)
--- 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);