[CONTACT]

[ABOUT]

[POLICY]

git clone dmenu dmenu Log gph

Found at: gopher.r-36.net:70/scm/dmenu/commit/ebd94a6c00e0726d271d4f0c88ec67b4e290b1bd.gph

tlimit direction keys in vline - dmenu - Dmenu fork with xft fonts.

git clone git://r-36.net/dmenu

Log

Files

Refs

README

LICENSE

---

commit ebd94a6c00e0726d271d4f0c88ec67b4e290b1bd

parent 2b31952731bc1c15d9a9521579b7609d50a65f01

Author: Connor Lane Smith

Date:   Tue, 15 Nov 2011 20:32:39 +0100
limit direction keys in vline
Diffstat:
  dmenu.c                             |       4 ++++
1 file changed, 4 insertions(+), 0 deletions(-)
---

diff --git a/dmenu.c b/dmenu.c

t@@ -328,6 +328,8 @@ keypress(XKeyEvent *ev) {
                         cursor = nextrune(-1);
                         break;
                 }
+                if(lines > 0)
+                        return;
                 /* fallthrough */
         case XK_Up:
                 if(sel && sel->left && (sel = sel->left)->right == curr) {
t@@ -356,6 +358,8 @@ keypress(XKeyEvent *ev) {
                         cursor = nextrune(+1);
                         break;
                 }
+                if(lines > 0)
+                        return;
                 /* fallthrough */
         case XK_Down:
                 if(sel && sel->right && (sel = sel->right) == next) {
.


AD: