From e668bfa49604af979d0d9482595c06ca080abdcd Mon Sep 17 00:00:00 2001 From: Arnor Nolen Date: Thu, 20 Apr 2023 19:15:32 +0300 Subject: [PATCH] Fixed mouse --- dwlb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dwlb.c b/dwlb.c index 3785c72..9dc3466 100644 --- 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) {