mirror of
https://github.com/kolunmi/dwlb.git
synced 2025-09-06 11:24:45 +00:00
Fixed mouse
This commit is contained in:
parent
0b23ae5d1e
commit
e668bfa496
2
dwlb.c
2
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) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user