diff options
author | emersion <contact@emersion.fr> | 2018-06-03 09:20:57 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-06-03 09:20:57 +0100 |
commit | 8e3d19aad2108d88cac694ec98914b332167ddb5 (patch) | |
tree | 00070d5f707f43fb8ffa843869280d6e91aea35a | |
parent | Merge pull request #2097 from RyanDwyer/fix-workspace-segfault (diff) | |
parent | Fix view title update order (diff) | |
download | sway-8e3d19aad2108d88cac694ec98914b332167ddb5.tar.gz sway-8e3d19aad2108d88cac694ec98914b332167ddb5.tar.zst sway-8e3d19aad2108d88cac694ec98914b332167ddb5.zip |
Merge pull request #2096 from kupospelov/fix-title-update
Fix view title update order
-rw-r--r-- | sway/tree/view.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sway/tree/view.c b/sway/tree/view.c index 79441d49..c9c82405 100644 --- a/sway/tree/view.c +++ b/sway/tree/view.c | |||
@@ -790,8 +790,10 @@ void view_update_title(struct sway_view *view, bool force) { | |||
790 | view->swayc->formatted_title = NULL; | 790 | view->swayc->formatted_title = NULL; |
791 | } | 791 | } |
792 | container_calculate_title_height(view->swayc); | 792 | container_calculate_title_height(view->swayc); |
793 | container_update_title_textures(view->swayc); | ||
794 | config_update_font_height(false); | 793 | config_update_font_height(false); |
794 | |||
795 | // Update title after the global font height is updated | ||
796 | container_update_title_textures(view->swayc); | ||
795 | } | 797 | } |
796 | 798 | ||
797 | static bool find_by_mark_iterator(struct sway_container *con, | 799 | static bool find_by_mark_iterator(struct sway_container *con, |