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:
77f8c07
)
saved 2LOC
author
arg@10ksloc.org
<unknown>
Tue, 1 Aug 2006 13:16:29 +0000
(15:16 +0200)
committer
arg@10ksloc.org
<unknown>
Tue, 1 Aug 2006 13:16:29 +0000
(15:16 +0200)
event.c
patch
|
blob
|
history
diff --git
a/event.c
b/event.c
index 99216b3cb54a64c07c389c288b14f7256642d01c..a34bdc8492f3d68ed32a07149b2d4b8cc8e1e298 100644
(file)
--- a/
event.c
+++ b/
event.c
@@
-116,12
+116,10
@@
buttonpress(XEvent *e)
}
break;
case Button4:
- a.i = (tsel + 1 < TLast) ? tsel + 1 : 0;
- view(&a);
+ viewnext(&a);
break;
case Button5:
- a.i = (tsel - 1 >= 0) ? tsel - 1 : TLast - 1;
- view(&a);
+ viewprev(&a);
break;
}
}