projects
/
suckless
/
dwm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
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 ad4e271e328dbd975c4a43e4fcf93a8cc0289409..3f06ea76200f8148c2ba06d4bc6614850dfabe42 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);