changeset: 426:9c36f30f66a1
tag: tip
user: Connor Lane Smith <cls_AT_lubutu.com>
date: Wed Jul 06 13:40:36 2011 +0100
files: dmenu.c
description:
simpler vline
diff -r 98813b01911e -r 9c36f30f66a1 dmenu.c
--- a/dmenu.c Mon Jul 04 16:55:09 2011 +0100
+++ b/dmenu.c Wed Jul 06 13:40:36 2011 +0100
@@ -330,8 +330,7 @@
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 @@
cursor = nextrune(+1);
break;
}
- else if(lines > 0)
- return;
+ /* fallthrough */
case XK_Down:
if(sel && sel->right && (sel = sel->right) == next) {
curr = next;
Received on Wed Jul 06 2011 - 14:40:43 CEST
This archive was generated by hypermail 2.2.0 : Wed Jul 06 2011 - 14:48:04 CEST