pinosaur
/
dmenu.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a683534
)
fixed vlist alignment
author
Connor Lane Smith
<cls@lubutu.com>
Wed, 5 May 2010 10:42:39 +0000
(11:42 +0100)
committer
Connor Lane Smith
<cls@lubutu.com>
Wed, 5 May 2010 10:42:39 +0000
(11:42 +0100)
dmenu.c
patch
|
blob
|
history
diff --git
a/dmenu.c
b/dmenu.c
index
1762dba
..
bebc206
100644
(file)
--- 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);