dmenu

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

commit 5bc288b2b1270957baab2142e1e8b20b796fed11
parent a6835349dfeafb994f250fcf98acc6dd74f010c2
Author: Connor Lane Smith <cls@lubutu.com>
Date:   Wed,  5 May 2010 11:42:39 +0100

fixed vlist alignment
Diffstat:
Mdmenu.c | 3+--
1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/dmenu.c b/dmenu.c @@ -255,8 +255,7 @@ void drawmenuv(void) { Item *i; - dc.x = 0; - dc.w = mw; + dc.w = mw - dc.x; dc.y += dc.font.height + 2; for(i = curr; i != next; i=i->right) { drawtext(i->text, (sel == i) ? dc.sel : dc.norm);