mirror of
https://github.com/mintycube/dmenu.git
synced 2024-10-22 14:05:48 +02:00
[dmenu][patch] fuzzyhighlight: don't move character 1 pixel backwards
This commit is contained in:
parent
fcfde08faf
commit
0993a2931a
@ -24,7 +24,7 @@ drawhighlights(struct item *item, int x, int y, int maxw)
|
|||||||
highlight[1] = '\0';
|
highlight[1] = '\0';
|
||||||
drw_text(
|
drw_text(
|
||||||
drw,
|
drw,
|
||||||
x + indent - (lrpad / 2) - 1,
|
x + indent - (lrpad / 2),
|
||||||
y,
|
y,
|
||||||
MIN(maxw - indent, TEXTW(highlight) - lrpad),
|
MIN(maxw - indent, TEXTW(highlight) - lrpad),
|
||||||
bh, 0, highlight, 0
|
bh, 0, highlight, 0
|
||||||
|
Loading…
Reference in New Issue
Block a user