Use font-size to correctly determine the size of the bars and buttons.
This commit is contained in:
@ -15,6 +15,8 @@ xcb_atom_t atoms[NUM_ATOMS];
|
||||
xcb_connection_t* xcb_connection;
|
||||
xcb_screen_t* xcb_screens;
|
||||
xcb_window_t xcb_root;
|
||||
xcb_font_t xcb_font;
|
||||
int font_height;
|
||||
|
||||
void init_xcb();
|
||||
void clean_xcb();
|
||||
@ -22,5 +24,6 @@ void get_atoms();
|
||||
void destroy_windows();
|
||||
void create_windows();
|
||||
void draw_buttons();
|
||||
int get_string_width(char *string);
|
||||
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user