aboutsummaryrefslogtreecommitdiff
path: root/sway
diff options
context:
space:
mode:
Diffstat (limited to 'sway')
-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 41d43b43..d66d3870 100644
--- a/sway/tree/container.c
+++ b/sway/tree/container.c
@@ -518,7 +518,7 @@ static void render_titlebar_text_texture(struct sway_output *output,
}
cairo_set_font_options(c, fo);
get_text_size(c, config->font, &width, NULL, &baseline, scale,
- config->pango_markup, "%s", con->formatted_title);
+ config->pango_markup, "%s", text);
cairo_surface_destroy(dummy_surface);
cairo_destroy(c);