mirror of
https://github.com/labwc/labwc.git
synced 2025-10-31 22:25:34 -04:00
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:
parent
85c775c3b1
commit
2f5a44d34d
5 changed files with 46 additions and 36 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue