summaryrefslogtreecommitdiff
path: root/swaybar/render.c
diff options
context:
space:
mode:
authorDrew DeVault <[email protected]>2016-04-24 17:58:53 -0400
committerDrew DeVault <[email protected]>2016-04-24 17:58:53 -0400
commit7efa9ab34ae1dabcc7c87d22bfba0b1312c8c662 (patch)
tree2364d4662a641f368d83494aa03b6b0879e97ca8 /swaybar/render.c
parenta796ce4f667575d4f5c663c9baa817f8c0842f6e (diff)
parent09d69f606a49d784ae3c11c927d1bfbba77b1f55 (diff)
Merge pull request #601 from Hummer12007/pango_markup_config
Pango markup config
Diffstat (limited to 'swaybar/render.c')
-rw-r--r--swaybar/render.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/swaybar/render.c b/swaybar/render.c
index 5901b557..273bd4f0 100644
--- a/swaybar/render.c
+++ b/swaybar/render.c
@@ -278,9 +278,9 @@ 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->pango_markup, "%s", line->text_line);
cairo_move_to(cairo, window->width - margin - width, margin);
- pango_printf(window->cairo, window->font, true, "%s", line->text_line);
+ pango_printf(window->cairo, window->font, config->pango_markup, "%s", line->text_line);
} else if (line->protocol == I3BAR && line->block_line) {
double pos = window->width - 0.5;
bool edge = true;