dmenu

my build of dynamic menu
git clone git://git.kocotian.pl/dmenu.git
Log | Files | Refs | README | LICENSE

commit bff1526d31faaf289804174f6477d61736e82443
parent 9a33a72c6afd9042c8395f4318bf5d21e235694d
Author: Connor Lane Smith <cls@lubutu.com>
Date:   Tue, 22 Jun 2010 10:45:07 +0100

fixed vlist cursor
Diffstat:
Mdmenu.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dmenu.c b/dmenu.c @@ -472,7 +472,7 @@ kpress(XKeyEvent * e) { calcoffsets(); break; case XK_Left: - if(cursor > 0 && (!sel || !sel->left)) { + if(cursor > 0 && (!sel || !sel->left || lines > 0)) { while(cursor-- > 0 && !IS_UTF8_1ST_CHAR(text[cursor])); break; }