mirror of
https://github.com/swaywm/sway.git
synced 2025-11-02 09:01:40 -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
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue