fixed vlist alignment
This commit is contained in:
parent
a6835349df
commit
5bc288b2b1
3
dmenu.c
3
dmenu.c
@ -255,8 +255,7 @@ void
|
|||||||
drawmenuv(void) {
|
drawmenuv(void) {
|
||||||
Item *i;
|
Item *i;
|
||||||
|
|
||||||
dc.x = 0;
|
dc.w = mw - dc.x;
|
||||||
dc.w = mw;
|
|
||||||
dc.y += dc.font.height + 2;
|
dc.y += dc.font.height + 2;
|
||||||
for(i = curr; i != next; i=i->right) {
|
for(i = curr; i != next; i=i->right) {
|
||||||
drawtext(i->text, (sel == i) ? dc.sel : dc.norm);
|
drawtext(i->text, (sel == i) ? dc.sel : dc.norm);
|
||||||
|
Loading…
Reference in New Issue
Block a user