mirror of
https://github.com/swaywm/sway.git
synced 2024-12-30 17:06:40 +01:00
Fix view title update order
This commit fixes the function call order to make sure that the title texture is updated using the relevant global font size.
This commit is contained in:
parent
fb932cf847
commit
e6baac4297
1 changed files with 3 additions and 1 deletions
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue