]> git.mdlowis.com Git - proto/labwc.git/commitdiff
src/theme.c: add menu to individual buttons
authorFlrian <4444593+Flrian@users.noreply.github.com>
Fri, 23 Dec 2022 17:18:05 +0000 (18:18 +0100)
committerConsolatis <35009135+Consolatis@users.noreply.github.com>
Fri, 23 Dec 2022 18:04:28 +0000 (19:04 +0100)
src/theme.c

index a0518634d06b7cec5d47b318f83701aa483ecef4..f88f9221c4a9629b4a307f40a9d1bd8d4e5cb8ba 100644 (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);