summaryrefslogtreecommitdiff
path: root/Servers/WindowServer
diff options
context:
space:
mode:
authorAndreas Kling <awesomekling@gmail.com>2019-08-26 21:14:50 +0200
committerAndreas Kling <awesomekling@gmail.com>2019-08-26 21:14:50 +0200
commitc0d81bea06d6bdf057fee35e0bf3b3c23dbd0f61 (patch)
tree756d024fe8a9ae7914147ffb3aaa675745196009 /Servers/WindowServer
parent0f48e3b007ec1637dc56f0006c6e98302d1edc89 (diff)
downloadserenity-c0d81bea06d6bdf057fee35e0bf3b3c23dbd0f61.zip
WindowServer: Make the global menubar selection consistent with items
Diffstat (limited to 'Servers/WindowServer')
-rw-r--r--Servers/WindowServer/WSMenuManager.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/Servers/WindowServer/WSMenuManager.cpp b/Servers/WindowServer/WSMenuManager.cpp
index e9a5833ab2..3f31e6197d 100644
--- a/Servers/WindowServer/WSMenuManager.cpp
+++ b/Servers/WindowServer/WSMenuManager.cpp
@@ -44,7 +44,8 @@ void WSMenuManager::draw()
wm.for_each_active_menubar_menu([&](WSMenu& menu) {
Color text_color = Color::Black;
if (&menu == wm.current_menu()) {
- painter.fill_rect(menu.rect_in_menubar(), wm.menu_selection_color());
+ painter.fill_rect(menu.rect_in_menubar(), Color::from_rgb(0xad714f));
+ painter.draw_rect(menu.rect_in_menubar(), Color::from_rgb(0x793016));
text_color = Color::White;
}
painter.draw_text(