commit e668bfa49604af979d0d9482595c06ca080abdcd
parent 0b23ae5d1e5c38eb8bf3fb1bf4d8e6896f40085f
Author: Arnor Nolen <andrey1gorbulin@gmail.com>
Date: Thu, 20 Apr 2023 19:15:32 +0300
Fixed mouse
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dwlb.c b/dwlb.c
@@ -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) {