1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 05:47:34 +00:00

WindowServer: Propagate theme change to the applet area

Fixes: #6056
This commit is contained in:
Dawid Wolosowicz 2021-04-04 20:22:45 +02:00 committed by Andreas Kling
parent 182f9582d2
commit 863bc35399
3 changed files with 24 additions and 2 deletions

View file

@ -1525,6 +1525,7 @@ bool WindowManager::update_theme(String theme_path, String theme_name)
return IterationDecision::Continue;
});
MenuManager::the().did_change_theme();
AppletManager::the().did_change_theme();
auto wm_config = Core::ConfigFile::open("/etc/WindowServer/WindowServer.ini");
wm_config->write_entry("Theme", "Name", theme_name);
wm_config->sync();