aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorFurkan Sahin <furkan-dev@proton.me>2018-05-05 18:25:31 +1000
committerFurkan Sahin <furkan-dev@proton.me>2018-05-05 18:25:31 +1000
commit2434dba7ec3d5b6f91fd185941e02da17d65f32f (patch)
treefe0fd2a72ceeb282a335692ebd53f618c476ab21 /include
parenta96d87a6d7f89d96f2676dd94e3ab250a7bd53b4 (diff)
Move code for re-arranging after font height change into a common place
Diffstat (limited to 'include')
-rw-r--r--include/sway/config.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/include/sway/config.h b/include/sway/config.h
index db942c3f..fa40ef4e 100644
--- a/include/sway/config.h
+++ b/include/sway/config.h
@@ -465,8 +465,11 @@ void free_bar_config(struct bar_config *bar);
* Updates the value of config->font_height based on the max title height
* reported by each container. If recalculate is true, the containers will
* recalculate their heights before reporting.
+ *
+ * If the height has changed, all containers will be rearranged to take on the
+ * new size.
*/
-void config_find_font_height(bool recalculate);
+void config_update_font_height(bool recalculate);
/* Global config singleton. */
extern struct sway_config *config;