small tag preview fix

This commit is contained in:
speediegq 2022-10-17 20:43:08 +02:00
parent 6f70a47731
commit 5fc6273a16

View file

@ -3432,7 +3432,7 @@ motionnotify(XEvent *e)
do {
if (!(occ & 1 << i || selmon->seltags & 1 << i) && hideemptytags)
continue;
x += TEXTW(tags[i]) + lts;
x += TEXTW(tags[i]) + lts + plw;
} while (ev->x >= x && ++i < LENGTH(tags));
if (mousepreview && !hidetags) {
if (i < LENGTH(tags)) {