From 8de5db18d6037227a24ce6e9d7f8bfcff4aebe43 Mon Sep 17 00:00:00 2001 From: deepend-tildeclub Date: Mon, 30 Mar 2026 10:29:05 -0600 Subject: [PATCH] Fix fallback GTK menu highlight states --- src/fe-gtk/theme/theme-css.c | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/src/fe-gtk/theme/theme-css.c b/src/fe-gtk/theme/theme-css.c index bf6d98c9..822121fa 100644 --- a/src/fe-gtk/theme/theme-css.c +++ b/src/fe-gtk/theme/theme-css.c @@ -367,6 +367,12 @@ theme_css_build_toplevel_classes (void) "color: @theme_fg_color;" "border-color: @theme_bg_color;" "}" + "window.%s menuitem:hover, window.%s menuitem:selected {" + "background-color: @theme_selected_bg_color;" + "background-image: none;" + "color: @theme_selected_fg_color;" + "border-color: @theme_selected_bg_color;" + "}" "window.%s, window.%s:backdrop, .%s {" "background-color: #f6f6f6;" "color: #101010;" @@ -377,6 +383,12 @@ theme_css_build_toplevel_classes (void) "background-image: none;" "color: @theme_fg_color;" "border-color: @theme_bg_color;" + "}" + "window.%s menuitem:hover, window.%s menuitem:selected {" + "background-color: @theme_selected_bg_color;" + "background-image: none;" + "color: @theme_selected_fg_color;" + "border-color: @theme_selected_bg_color;" "}", theme_css_selector_dark_class, theme_css_selector_dark_class, @@ -387,6 +399,10 @@ theme_css_build_toplevel_classes (void) theme_css_selector_dark_class, theme_css_selector_dark_class, theme_css_selector_dark_class, + theme_css_selector_dark_class, + theme_css_selector_dark_class, + theme_css_selector_light_class, + theme_css_selector_light_class, theme_css_selector_light_class, theme_css_selector_light_class, theme_css_selector_light_class,