src/theme.c: add menu to individual buttons

This commit is contained in:
Flrian 2022-12-23 18:18:05 +01:00 committed by Consolatis
parent 41a4176b17
commit 6d1d0aecab

View file

@ -238,6 +238,10 @@ entry(struct theme *theme, const char *key, const char *value)
}
/* individual buttons */
if (match(key, "window.active.button.menu.unpressed.image.color")) {
parse_hexstr(value,
theme->window_active_button_menu_unpressed_image_color);
}
if (match(key, "window.active.button.iconify.unpressed.image.color")) {
parse_hexstr(value,
theme->window_active_button_iconify_unpressed_image_color);
@ -250,6 +254,10 @@ entry(struct theme *theme, const char *key, const char *value)
parse_hexstr(value,
theme->window_active_button_close_unpressed_image_color);
}
if (match(key, "window.inactive.button.menu.unpressed.image.color")) {
parse_hexstr(value,
theme->window_inactive_button_menu_unpressed_image_color);
}
if (match(key, "window.inactive.button.iconify.unpressed.image.color")) {
parse_hexstr(value,
theme->window_inactive_button_iconify_unpressed_image_color);