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:
Andreas Kling 2023-01-02 17:43:41 +01:00
parent f4168be700
commit 15b920c730
Notes: sideshowbarker 2024-07-17 10:16:43 +09:00

View file

@ -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)