pinosaur
/
dmenu.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
34a816f
)
simpler vline
author
Connor Lane Smith
<cls@lubutu.com>
Wed, 6 Jul 2011 12:40:36 +0000
(13:40 +0100)
committer
Connor Lane Smith
<cls@lubutu.com>
Wed, 6 Jul 2011 12:40:36 +0000
(13:40 +0100)
dmenu.c
patch
|
blob
|
history
diff --git
a/dmenu.c
b/dmenu.c
index
9b57565
..
aa9254f
100644
(file)
--- a/
dmenu.c
+++ b/
dmenu.c
@@
-330,8
+330,7
@@
keypress(XKeyEvent *ev) {
cursor = nextrune(-1);
break;
}
- else if(lines > 0)
- return;
+ /* fallthrough */
case XK_Up:
if(sel && sel->left && (sel = sel->left)->right == curr) {
curr = prev;
@@
-359,8
+358,7
@@
keypress(XKeyEvent *ev) {
cursor = nextrune(+1);
break;
}
- else if(lines > 0)
- return;
+ /* fallthrough */
case XK_Down:
if(sel && sel->right && (sel = sel->right) == next) {
curr = next;