projects
/
suckless
/
dmenu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
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 1762dba03ff953e2795dab10ca81f1b169b0a8d8..bebc2065031cfac2e2778af52ba7fbb9734f3680 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);