diff --git a/scripting/scripting.cpp b/scripting/scripting.cpp index 6c6e258656..13a77bc346 100644 --- a/scripting/scripting.cpp +++ b/scripting/scripting.cpp @@ -607,6 +607,12 @@ void KWin::Scripting::start() LoadScriptList KWin::Scripting::queryScriptsToLoad() { KSharedConfig::Ptr _config = KGlobal::config(); + static bool s_started = false; + if (s_started) { + _config->reparseConfiguration(); + } else { + s_started = true; + } QMap pluginStates = KConfigGroup(_config, "Plugins").entryMap(); KService::List offers = KServiceTypeTrader::self()->query("KWin/Script");