1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 16:17:45 +00:00

Everywhere: Use Core::ConfigFile::AllowWriting::Yes to allow writing

This commit is contained in:
networkException 2021-08-21 16:14:30 +02:00 committed by Andreas Kling
parent 54bbe52b51
commit 938051feb8
25 changed files with 29 additions and 29 deletions

View file

@ -66,7 +66,7 @@ RefPtr<Cursor> WindowManager::get_cursor(String const& name)
void WindowManager::reload_config()
{
m_config = Core::ConfigFile::open("/etc/WindowServer.ini");
m_config = Core::ConfigFile::open("/etc/WindowServer.ini", Core::ConfigFile::AllowWriting::Yes);
unsigned virtual_desktop_rows = (unsigned)m_config->read_num_entry("VirtualDesktop", "Rows", default_window_stack_rows);
unsigned virtual_desktop_columns = (unsigned)m_config->read_num_entry("VirtualDesktop", "Columns", default_window_stack_columns);