aboutsummaryrefslogtreecommitdiffstats
path: root/include/sway/config.h
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 /include/sway/config.h
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 'include/sway/config.h')
-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);
465 * Updates the value of config->font_height based on the max title height 465 * Updates the value of config->font_height based on the max title height
466 * reported by each container. If recalculate is true, the containers will 466 * reported by each container. If recalculate is true, the containers will
467 * recalculate their heights before reporting. 467 * recalculate their heights before reporting.
468 *
469 * If the height has changed, all containers will be rearranged to take on the
470 * new size.
468 */ 471 */
469void config_find_font_height(bool recalculate); 472void config_update_font_height(bool recalculate);
470 473
471/* Global config singleton. */ 474/* Global config singleton. */
472extern struct sway_config *config; 475extern struct sway_config *config;