diff options
Diffstat (limited to 'include/sway/config.h')
-rw-r--r-- | include/sway/config.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/include/sway/config.h b/include/sway/config.h index a0113e98..02ae3b63 100644 --- a/include/sway/config.h +++ b/include/sway/config.h | |||
@@ -206,7 +206,7 @@ struct bar_config { | |||
206 | struct border_colors { | 206 | struct border_colors { |
207 | float border[4]; | 207 | float border[4]; |
208 | float background[4]; | 208 | float background[4]; |
209 | float text[4]; | 209 | uint32_t text; /**< uint32_t because that's the format that cairo uses */ |
210 | float indicator[4]; | 210 | float indicator[4]; |
211 | float child_border[4]; | 211 | float child_border[4]; |
212 | }; | 212 | }; |
@@ -461,6 +461,8 @@ struct bar_config *default_bar_config(void); | |||
461 | 461 | ||
462 | void free_bar_config(struct bar_config *bar); | 462 | void free_bar_config(struct bar_config *bar); |
463 | 463 | ||
464 | int get_font_text_height(char *font); | ||
465 | |||
464 | /* Global config singleton. */ | 466 | /* Global config singleton. */ |
465 | extern struct sway_config *config; | 467 | extern struct sway_config *config; |
466 | 468 | ||