aboutsummaryrefslogtreecommitdiffstats
path: root/sway/tree/container.c
diff options
context:
space:
mode:
authorLibravatar Simon Ser <contact@emersion.fr>2021-09-13 14:07:27 +0200
committerLibravatar Kenny Levinsen <kl@kl.wtf>2021-09-13 14:22:51 +0200
commit3f7a04df22b304f10eede8cea2f0d2ceae659069 (patch)
treec2be58823b6695969bd2aa5d5b9682c55e7969e7 /sway/tree/container.c
parentreadme: link to gamja for IRC (diff)
downloadsway-3f7a04df22b304f10eede8cea2f0d2ceae659069.tar.gz
sway-3f7a04df22b304f10eede8cea2f0d2ceae659069.tar.zst
sway-3f7a04df22b304f10eede8cea2f0d2ceae659069.zip
Rename pango_printf to render_text
This avoids using the pango_ prefix, reserved for functions coming from the Pango library.
Diffstat (limited to 'sway/tree/container.c')
-rw-r--r--sway/tree/container.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sway/tree/container.c b/sway/tree/container.c
index d66d3870..6a01eab3 100644
--- a/sway/tree/container.c
+++ b/sway/tree/container.c
@@ -544,7 +544,7 @@ static void render_titlebar_text_texture(struct sway_output *output,
544 class->text[2], class->text[3]); 544 class->text[2], class->text[3]);
545 cairo_move_to(cairo, 0, config->font_baseline * scale - baseline); 545 cairo_move_to(cairo, 0, config->font_baseline * scale - baseline);
546 546
547 pango_printf(cairo, config->font, scale, pango_markup, "%s", text); 547 render_text(cairo, config->font, scale, pango_markup, "%s", text);
548 548
549 cairo_surface_flush(surface); 549 cairo_surface_flush(surface);
550 unsigned char *data = cairo_image_surface_get_data(surface); 550 unsigned char *data = cairo_image_surface_get_data(surface);