summaryrefslogtreecommitdiff
path: root/Userland/Applications
diff options
context:
space:
mode:
authorAndreas Kling <kling@serenityos.org>2021-04-29 21:40:59 +0200
committerAndreas Kling <kling@serenityos.org>2021-04-29 22:16:18 +0200
commitdef1f1444aeee2caf6d47d0eb96a18ffc476c3f9 (patch)
tree2cd5b10136486bda1ec35b161100a081337ef514 /Userland/Applications
parentb88b19272e2f1876ebe0dac0601f087a62d099c0 (diff)
downloadserenity-def1f1444aeee2caf6d47d0eb96a18ffc476c3f9.zip
WindowServer: Move configuration file to /etc/WindowServer.ini
This was in the /etc/WindowServer/ directory which had nothing else in it, so let's just get rid of the directory and move this up one step.
Diffstat (limited to 'Userland/Applications')
-rw-r--r--Userland/Applications/DisplaySettings/DisplaySettings.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Userland/Applications/DisplaySettings/DisplaySettings.cpp b/Userland/Applications/DisplaySettings/DisplaySettings.cpp
index 6fe579bfbd..7c80bac763 100644
--- a/Userland/Applications/DisplaySettings/DisplaySettings.cpp
+++ b/Userland/Applications/DisplaySettings/DisplaySettings.cpp
@@ -175,7 +175,7 @@ void DisplaySettingsWidget::create_frame()
void DisplaySettingsWidget::load_current_settings()
{
- auto ws_config(Core::ConfigFile::open("/etc/WindowServer/WindowServer.ini"));
+ auto ws_config(Core::ConfigFile::open("/etc/WindowServer.ini"));
auto wm_config = Core::ConfigFile::get_for_app("WindowManager");
/// Wallpaper path ////////////////////////////////////////////////////////////////////////////
@@ -253,7 +253,7 @@ void DisplaySettingsWidget::load_current_settings()
void DisplaySettingsWidget::send_settings_to_window_server()
{
// Store the current screen resolution and scale factor in case the user wants to revert to it.
- auto ws_config(Core::ConfigFile::open("/etc/WindowServer/WindowServer.ini"));
+ auto ws_config(Core::ConfigFile::open("/etc/WindowServer.ini"));
Gfx::IntSize current_resolution;
current_resolution.set_width(ws_config->read_num_entry("Screen", "Width", 1024));
current_resolution.set_height(ws_config->read_num_entry("Screen", "Height", 768));