diff options
Diffstat (limited to 'sway/tree/container.c')
-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 9093feba..5fdcb6e3 100644 --- a/sway/tree/container.c +++ b/sway/tree/container.c | |||
@@ -783,7 +783,7 @@ static void update_title_texture(struct sway_container *con, | |||
783 | 783 | ||
784 | double scale = output->sway_output->wlr_output->scale; | 784 | double scale = output->sway_output->wlr_output->scale; |
785 | int width = 0; | 785 | int width = 0; |
786 | int height = config->font_height * scale; | 786 | int height = con->title_height * scale; |
787 | 787 | ||
788 | cairo_t *c = cairo_create(NULL); | 788 | cairo_t *c = cairo_create(NULL); |
789 | get_text_size(c, config->font, &width, NULL, scale, config->pango_markup, | 789 | get_text_size(c, config->font, &width, NULL, scale, config->pango_markup, |