Refactor title height to use 'titlebar.height' from themerc

This commit is contained in:
Moises Lima 2023-10-02 12:44:30 -03:00 committed by Johan Malm
parent 0acdf041b8
commit 47a80fc4f2
4 changed files with 18 additions and 8 deletions

View file

@ -20,6 +20,7 @@ enum lab_justification {
struct theme {
int border_width;
int padding_height;
int title_height;
int menu_overlap_x;
int menu_overlap_y;
@ -92,7 +93,6 @@ struct theme {
struct lab_data_buffer *corner_top_right_inactive_normal;
/* not set in rc.xml/themerc, but derived from font & padding_height */
int title_height;
int osd_window_switcher_item_height;
};