summaryrefslogtreecommitdiffstats
path: root/swaybar/render.c
diff options
context:
space:
mode:
authorLibravatar Mykyta Holubakha <hilobakho@gmail.com>2016-04-24 20:35:21 +0300
committerLibravatar Mykyta Holubakha <hilobakho@gmail.com>2016-04-24 20:35:21 +0300
commit0f1cfdec617d122afbc87eb6466d5d2e5c348259 (patch)
tree929117e8a3276b240b59262e0809eb51c949eb42 /swaybar/render.c
parentFix line length calculation (diff)
downloadsway-0f1cfdec617d122afbc87eb6466d5d2e5c348259.tar.gz
sway-0f1cfdec617d122afbc87eb6466d5d2e5c348259.tar.zst
sway-0f1cfdec617d122afbc87eb6466d5d2e5c348259.zip
Renamed to pango_markup
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 b9ef2242..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
278 int width, height; 278 int width, height;
279 279
280 if (line->protocol == TEXT) { 280 if (line->protocol == TEXT) {
281 get_text_size(window->cairo, window->font, &width, &height, config->plaintext_markup, "%s", line->text_line); 281 get_text_size(window->cairo, window->font, &width, &height, config->pango_markup, "%s", line->text_line);
282 cairo_move_to(cairo, window->width - margin - width, margin); 282 cairo_move_to(cairo, window->width - margin - width, margin);
283 pango_printf(window->cairo, window->font, config->plaintext_markup, "%s", line->text_line); 283 pango_printf(window->cairo, window->font, config->pango_markup, "%s", line->text_line);
284 } else if (line->protocol == I3BAR && line->block_line) { 284 } else if (line->protocol == I3BAR && line->block_line) {
285 double pos = window->width - 0.5; 285 double pos = window->width - 0.5;
286 bool edge = true; 286 bool edge = true;