sway

i3-compatible Wayland compositor
git clone https://git.awy.one/sway
Log | Files | Refs | README | LICENSE

commit ee4e245f167f0e5a859a03b06568c282d11b52d2
parent 2e6c43e62b9b34c0ce019c013d3f6e4863a9d482
Author: Mykyta Holubakha <hilobakho@gmail.com>
Date:   Sun, 24 Apr 2016 20:20:07 +0300

Fix line length calculation

Diffstat:
Mswaybar/render.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/swaybar/render.c b/swaybar/render.c @@ -278,7 +278,7 @@ void render(struct output *output, struct config *config, struct status_line *li int width, height; if (line->protocol == TEXT) { - get_text_size(window->cairo, window->font, &width, &height, true, "%s", line->text_line); + get_text_size(window->cairo, window->font, &width, &height, config->plaintext_markup, "%s", line->text_line); cairo_move_to(cairo, window->width - margin - width, margin); pango_printf(window->cairo, window->font, config->plaintext_markup, "%s", line->text_line); } else if (line->protocol == I3BAR && line->block_line) {