sway

i3-compatible Wayland compositor
git clone https://git.awy.one/sway
Log | Files | Refs | README | LICENSE

commit e6baac4297e448deb126b75e9281c4871c71b691
parent fb932cf8477120ee9fd9db37be1cd26a603fe0a3
Author: Konstantin Pospelov <kupospelov@gmail.com>
Date:   Sun,  3 Jun 2018 00:32:18 +0300

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.

Diffstat:
Msway/tree/view.c | 4+++-
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,