diff options
author | Ryan Dwyer <ryandwyer1@gmail.com> | 2018-05-05 18:25:31 +1000 |
---|---|---|
committer | Ryan Dwyer <ryandwyer1@gmail.com> | 2018-05-05 22:29:37 +1000 |
commit | 5d6d24e71aabc026c99ac736c788fa8103658c42 (patch) | |
tree | fe0fd2a72ceeb282a335692ebd53f618c476ab21 /include | |
parent | Refactor parse_title_format() (diff) | |
download | sway-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')
-rw-r--r-- | include/sway/config.h | 5 |
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 | */ |
469 | void config_find_font_height(bool recalculate); | 472 | void config_update_font_height(bool recalculate); |
470 | 473 | ||
471 | /* Global config singleton. */ | 474 | /* Global config singleton. */ |
472 | extern struct sway_config *config; | 475 | extern struct sway_config *config; |