summaryrefslogtreecommitdiff
path: root/Servers
diff options
context:
space:
mode:
authorAndreas Kling <kling@serenityos.org>2020-04-29 20:58:39 +0200
committerAndreas Kling <kling@serenityos.org>2020-04-30 09:04:39 +0200
commita9f6f862e21161cf965c9fe15ae221b239c5d107 (patch)
treecc5eee52c4077af8634756637531e6e0e2920d14 /Servers
parent47f413c47f54ce8b20b604796e01253448139c1a (diff)
downloadserenity-a9f6f862e21161cf965c9fe15ae221b239c5d107.zip
WindowServer: Fix typo (backgound_color => background_color)
Diffstat (limited to 'Servers')
-rw-r--r--Servers/WindowServer/ClientConnection.cpp2
-rw-r--r--Servers/WindowServer/Compositor.cpp2
-rw-r--r--Servers/WindowServer/Compositor.h2
-rw-r--r--Servers/WindowServer/WindowManager.cpp2
4 files changed, 4 insertions, 4 deletions
diff --git a/Servers/WindowServer/ClientConnection.cpp b/Servers/WindowServer/ClientConnection.cpp
index cd272d3a79..c951754350 100644
--- a/Servers/WindowServer/ClientConnection.cpp
+++ b/Servers/WindowServer/ClientConnection.cpp
@@ -326,7 +326,7 @@ void ClientConnection::handle(const Messages::WindowServer::AsyncSetWallpaper& m
OwnPtr<Messages::WindowServer::SetBackgroundColorResponse> ClientConnection::handle(const Messages::WindowServer::SetBackgroundColor& message)
{
- Compositor::the().set_backgound_color(message.background_color());
+ Compositor::the().set_background_color(message.background_color());
return make<Messages::WindowServer::SetBackgroundColorResponse>();
}
diff --git a/Servers/WindowServer/Compositor.cpp b/Servers/WindowServer/Compositor.cpp
index b06cc9080e..57f87178df 100644
--- a/Servers/WindowServer/Compositor.cpp
+++ b/Servers/WindowServer/Compositor.cpp
@@ -317,7 +317,7 @@ void Compositor::invalidate(const Gfx::Rect& a_rect)
}
}
-bool Compositor::set_backgound_color(const String& background_color)
+bool Compositor::set_background_color(const String& background_color)
{
auto& wm = WindowManager::the();
wm.wm_config()->write_entry("Background", "Color", background_color);
diff --git a/Servers/WindowServer/Compositor.h b/Servers/WindowServer/Compositor.h
index fa86276405..99778d786c 100644
--- a/Servers/WindowServer/Compositor.h
+++ b/Servers/WindowServer/Compositor.h
@@ -56,7 +56,7 @@ public:
bool set_resolution(int desired_width, int desired_height);
- bool set_backgound_color(const String& background_color);
+ bool set_background_color(const String& background_color);
bool set_wallpaper_mode(const String& mode);
diff --git a/Servers/WindowServer/WindowManager.cpp b/Servers/WindowServer/WindowManager.cpp
index 9b3ffdcbec..309ac50deb 100644
--- a/Servers/WindowServer/WindowManager.cpp
+++ b/Servers/WindowServer/WindowManager.cpp
@@ -1284,7 +1284,7 @@ bool WindowManager::update_theme(String theme_path, String theme_name)
ASSERT(new_theme);
Gfx::set_system_theme(*new_theme);
m_palette = Gfx::PaletteImpl::create_with_shared_buffer(*new_theme);
- Compositor::the().set_backgound_color(palette().desktop_background().to_string());
+ Compositor::the().set_background_color(palette().desktop_background().to_string());
HashTable<ClientConnection*> notified_clients;
for_each_window([&](Window& window) {
if (window.client()) {