1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 02:27:35 +00:00

WindowServer+MouseSettings: Make default cursor highlight more visible

A litte smaller, and red with a slightly higher opacity, which
is much easier to make out.
This commit is contained in:
MacDue 2022-06-07 23:27:23 +01:00 committed by Linus Groh
parent d3ed490cb4
commit 44cd973148
3 changed files with 9 additions and 9 deletions

View file

@ -82,9 +82,9 @@ void WindowManager::reload_config()
m_double_click_speed = m_config->read_num_entry("Input", "DoubleClickSpeed", 250);
m_buttons_switched = m_config->read_bool_entry("Mouse", "ButtonsSwitched", false);
m_cursor_highlight_radius = m_config->read_num_entry("Mouse", "CursorHighlightRadius", 0);
Color default_highlight_color = Color::NamedColor::Yellow;
default_highlight_color.set_alpha(80);
m_cursor_highlight_radius = m_config->read_num_entry("Mouse", "CursorHighlightRadius", 25);
Color default_highlight_color = Color::NamedColor::Red;
default_highlight_color.set_alpha(110);
m_cursor_highlight_color = Color::from_string(m_config->read_entry("Mouse", "CursorHighlightColor")).value_or(default_highlight_color);
apply_cursor_theme(m_config->read_entry("Mouse", "CursorTheme", "Default"));