mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-26 17:40:27 +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
Notes:
sideshowbarker
2024-07-17 10:16:43 +09:00
Author: https://github.com/awesomekling Commit: https://github.com/SerenityOS/serenity/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", "WindowTitle", window_title_font_query);
|
||||
|
||||
return true;
|
||||
return !g_config->sync().is_error();
|
||||
}
|
||||
|
||||
void ConnectionFromClient::set_system_effects(Vector<bool> const& effects, u8 geometry)
|
||||
|
|
Loading…
Reference in a new issue