diff options
author | Andres Vieira <anvieiravazquez@gmail.com> | 2020-04-28 16:56:23 +0200 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2020-04-28 17:04:21 +0200 |
commit | 8a417c311f3c3c13dc5353619051aac777c9f1df (patch) | |
tree | 3e1aaf30c6af146a4d2ef9563b1c6ae19ecf3a71 /Servers/WindowServer | |
parent | 30fe1b5d58e6f61c2c86cd246ef929c29dd9e4db (diff) | |
download | serenity-8a417c311f3c3c13dc5353619051aac777c9f1df.zip |
WindowServer: Change the desktop background colour on theme change
Diffstat (limited to 'Servers/WindowServer')
-rw-r--r-- | Servers/WindowServer/WindowManager.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Servers/WindowServer/WindowManager.cpp b/Servers/WindowServer/WindowManager.cpp index 8113550550..9b3ffdcbec 100644 --- a/Servers/WindowServer/WindowManager.cpp +++ b/Servers/WindowServer/WindowManager.cpp @@ -1284,6 +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()); HashTable<ClientConnection*> notified_clients; for_each_window([&](Window& window) { if (window.client()) { |