From 6d1d0aecab7ca3c16096ae4482fc83ee9dec64c3 Mon Sep 17 00:00:00 2001 From: Flrian <4444593+Flrian@users.noreply.github.com> Date: Fri, 23 Dec 2022 18:18:05 +0100 Subject: [PATCH] src/theme.c: add menu to individual buttons --- src/theme.c | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/theme.c b/src/theme.c index a0518634..f88f9221 100644 --- a/src/theme.c +++ b/src/theme.c @@ -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);