From d856e397d728ea3cb7fe1c59a1e8b17403955963 Mon Sep 17 00:00:00 2001 From: bi4k8 Date: Mon, 28 Nov 2022 19:23:23 +0000 Subject: [PATCH] core: fix right-alignment with wayland I'm not sure why this is necessary (or what it might break), but it seems to work --- src/conky.cc | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/conky.cc b/src/conky.cc index 7a6e4703..538b096a 100644 --- a/src/conky.cc +++ b/src/conky.cc @@ -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; }