Reload buttons in SIGHUP

Call xbm_load() from theme_init()
This commit is contained in:
Johan Malm 2021-02-21 21:14:06 +00:00
parent 2514fb0b99
commit 9af7bd744f
4 changed files with 15 additions and 7 deletions

View file

@ -43,11 +43,11 @@ extern struct theme theme;
void parse_hexstr(const char *hex, float *rgba);
/**
* theme_read - read theme into global theme struct
* theme_init - read theme incl. buttons into global theme struct
* @theme_name: theme-name in <theme-dir>/<theme-name>/openbox-3/themerc
* Note <theme-dir> is obtained in theme-dir.c
*/
void theme_read(const char *theme_name);
void theme_init(struct wlr_renderer *renderer, const char *theme_name);
/**
* theme_builin - apply built-in theme similar to Clearlooks