1
0
mirror of https://github.com/Llewellynvdm/conky.git synced 2024-12-25 12:10:03 +00:00

core: fix right-alignment with wayland

I'm not sure why this is necessary (or what it might break), but it seems to work
This commit is contained in:
bi4k8 2022-11-28 19:23:23 +00:00 committed by Brenden Matthews
parent 20ac59b0b1
commit d856e397d7
No known key found for this signature in database
GPG Key ID: B49ABB7270D9D4FD

View File

@ -1484,9 +1484,7 @@ int draw_each_line_inner(char *s, int special_index, int last_special_applied) {
cur_x, get_string_width_special(s), gap_x,
current->arg, window.border_inner_margin,
window.border_width); */
if (pos_x > current->arg && pos_x > cur_x) {
cur_x = pos_x - current->arg;
}
cur_x = pos_x - current->arg;
break;
}