summaryrefslogtreecommitdiffstats
path: root/sway/tree/view.c
diff options
context:
space:
mode:
authorLibravatar Ryan Dwyer <ryandwyer1@gmail.com>2018-05-05 18:25:31 +1000
committerLibravatar Ryan Dwyer <ryandwyer1@gmail.com>2018-05-05 22:29:37 +1000
commit5d6d24e71aabc026c99ac736c788fa8103658c42 (patch)
treefe0fd2a72ceeb282a335692ebd53f618c476ab21 /sway/tree/view.c
parentRefactor parse_title_format() (diff)
downloadsway-5d6d24e71aabc026c99ac736c788fa8103658c42.tar.gz
sway-5d6d24e71aabc026c99ac736c788fa8103658c42.tar.zst
sway-5d6d24e71aabc026c99ac736c788fa8103658c42.zip
Move code for re-arranging after font height change into a common place
Diffstat (limited to 'sway/tree/view.c')
-rw-r--r--sway/tree/view.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/sway/tree/view.c b/sway/tree/view.c
index 386144f6..851348d8 100644
--- a/sway/tree/view.c
+++ b/sway/tree/view.c
@@ -601,10 +601,5 @@ void view_update_title(struct sway_view *view, bool force) {
601 container_calculate_title_height(view->swayc); 601 container_calculate_title_height(view->swayc);
602 container_update_title_textures(view->swayc); 602 container_update_title_textures(view->swayc);
603 container_notify_child_title_changed(view->swayc->parent); 603 container_notify_child_title_changed(view->swayc->parent);
604 604 config_update_font_height(false);
605 size_t prev_max_height = config->font_height;
606 config_find_font_height(false);
607 if (config->font_height != prev_max_height) {
608 arrange_root();
609 }
610} 605}