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:
parent
20ac59b0b1
commit
d856e397d7
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user