Fixed mouse

This commit is contained in:
Arnor Nolen 2023-04-20 19:15:32 +03:00
parent 0b23ae5d1e
commit e668bfa496

2
dwlb.c
View File

@ -640,7 +640,7 @@ pointer_frame(void *data, struct wl_pointer *pointer)
if (!active && !occupied && !urgent)
continue;
}
x += TEXT_WIDTH(tags[i], seat->bar->width - x, seat->bar->textpadding);
x += TEXT_WIDTH(tags[i], seat->bar->width - x, seat->bar->textpadding) / buffer_scale;
} while (seat->pointer_x >= x && ++i < tags_l);
if (i < tags_l) {