theme: move title_height to theme struct

title_height is a derived variable which needs both config and theme
variables (font height and title padding). The code is tidier calling
post_processing() for this from theme_init()
This commit is contained in:
Johan Malm 2021-04-15 20:13:49 +01:00
parent 85c775c3b1
commit 2f5a44d34d
5 changed files with 46 additions and 36 deletions

View file

@ -14,7 +14,6 @@ struct rcxml {
char *font_name_activewindow;
int font_size_activewindow;
struct wl_list keybinds;
int title_height; /* not set in rc.xml, but derived from font, etc */
};
extern struct rcxml rc;