mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 10:07:44 +00:00
WindowServer: Write new config to disk when system fonts are changed
This makes system font changes actually persist across reboots.
This commit is contained in:
parent
f4168be700
commit
15b920c730
1 changed files with 1 additions and 1 deletions
|
@ -950,7 +950,7 @@ Messages::WindowServer::SetSystemFontsResponse ConnectionFromClient::set_system_
|
||||||
g_config->write_entry("Fonts", "FixedWidth", fixed_width_font_query);
|
g_config->write_entry("Fonts", "FixedWidth", fixed_width_font_query);
|
||||||
g_config->write_entry("Fonts", "WindowTitle", window_title_font_query);
|
g_config->write_entry("Fonts", "WindowTitle", window_title_font_query);
|
||||||
|
|
||||||
return true;
|
return !g_config->sync().is_error();
|
||||||
}
|
}
|
||||||
|
|
||||||
void ConnectionFromClient::set_system_effects(Vector<bool> const& effects, u8 geometry)
|
void ConnectionFromClient::set_system_effects(Vector<bool> const& effects, u8 geometry)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue