mirror of
https://github.com/swaywm/sway.git
synced 2025-11-05 13:29:51 -05:00
Move code for re-arranging after font height change into a common place
This commit is contained in:
parent
da7d6642d3
commit
5d6d24e71a
5 changed files with 15 additions and 16 deletions
|
|
@ -601,10 +601,5 @@ void view_update_title(struct sway_view *view, bool force) {
|
|||
container_calculate_title_height(view->swayc);
|
||||
container_update_title_textures(view->swayc);
|
||||
container_notify_child_title_changed(view->swayc->parent);
|
||||
|
||||
size_t prev_max_height = config->font_height;
|
||||
config_find_font_height(false);
|
||||
if (config->font_height != prev_max_height) {
|
||||
arrange_root();
|
||||
}
|
||||
config_update_font_height(false);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue