diff options
Diffstat (limited to 'sway')
-rw-r--r-- | sway/tree/container.c | 2 |
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); |