From 123de8600179feceb7f78fc246da69ee22f04ee3 Mon Sep 17 00:00:00 2001 From: Mikkel Oscar Lyderik Date: Mon, 25 Jan 2016 15:24:12 +0100 Subject: swaybar: Fix plaintext handling. Fix #473 --- swaybar/render.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/swaybar/render.c b/swaybar/render.c index 369fa046..ce5d10b4 100644 --- a/swaybar/render.c +++ b/swaybar/render.c @@ -287,7 +287,7 @@ void render(struct output *output, struct config *config, struct status_line *li if (line->protocol == TEXT) { get_text_size(window, &width, &height, "%s", line->text_line); cairo_move_to(cairo, window->width - margin - width, margin); - pango_printf(window, "%s", line); + pango_printf(window, "%s", line->text_line); } else if (line->protocol == I3BAR && line->block_line) { double pos = window->width - 0.5; bool edge = true; -- cgit v1.2.3-54-g00ecf