commit 8e3d19aad2108d88cac694ec98914b332167ddb5
parent 5c2ae9c60021ace8b5a599671f51935edd18a2ae
Author: emersion <contact@emersion.fr>
Date: Sun, 3 Jun 2018 09:20:57 +0100
Merge pull request #2096 from kupospelov/fix-title-update
Fix view title update order
Diffstat:
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/sway/tree/view.c b/sway/tree/view.c
@@ -790,8 +790,10 @@ void view_update_title(struct sway_view *view, bool force) {
view->swayc->formatted_title = NULL;
}
container_calculate_title_height(view->swayc);
- container_update_title_textures(view->swayc);
config_update_font_height(false);
+
+ // Update title after the global font height is updated
+ container_update_title_textures(view->swayc);
}
static bool find_by_mark_iterator(struct sway_container *con,