commit: c9ed36a6e308b2364f43fa9e91b680f97f6e457e
parent: 849f41f65bc9bc40636213ad98d3e3bb462a3c1e
author: Chris Noxz <chris@noxz.tech>
date: Sat, 4 Apr 2020 15:02:10 +0200
Skip moving highlighted character 1 pixel backwards
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dmenu.c b/dmenu.c
@@ -142,7 +142,7 @@ drawhighlights(struct item *item, int x, int y, int maxw)
highlight[1] = '\0';
drw_text(
drw,
- x + indent - (lrpad / 2) - 1,
+ x + indent - (lrpad / 2),
y,
MIN(maxw - indent, TEXTW(highlight) - lrpad),
bh, 0, highlight, 0