diff options
Diffstat (limited to 'kwin/kcmkwin')
-rw-r--r-- | kwin/kcmkwin/kwinoptions/windows.cpp | 11 | ||||
-rw-r--r-- | kwin/kcmkwin/kwinoptions/windows.h | 1 |
2 files changed, 12 insertions, 0 deletions
diff --git a/kwin/kcmkwin/kwinoptions/windows.cpp b/kwin/kcmkwin/kwinoptions/windows.cpp index 69041c702..b5039b43c 100644 --- a/kwin/kcmkwin/kwinoptions/windows.cpp +++ b/kwin/kcmkwin/kwinoptions/windows.cpp @@ -1616,6 +1616,8 @@ void KTranslucencyConfig::save( void ) kapp->dcopClient()->attach(); kapp->dcopClient()->send("kwin*", "", "reconfigure()", TQString("")); } + if (useTranslucency->isChecked()) + startKompmgr(); emit KCModule::changed(false); } @@ -1669,6 +1671,15 @@ bool KTranslucencyConfig::kompmgrAvailable() return ret; } +void KTranslucencyConfig::startKompmgr() +{ + bool ret; + KProcess proc; + proc << "kompmgr"; + ret = proc.start(KProcess::DontCare, KProcess::AllOutput); + proc.detach(); +} + void KTranslucencyConfig::showWarning(bool alphaActivated) { // if (alphaActivated) diff --git a/kwin/kcmkwin/kwinoptions/windows.h b/kwin/kcmkwin/kwinoptions/windows.h index 83dc70b66..338860efe 100644 --- a/kwin/kcmkwin/kwinoptions/windows.h +++ b/kwin/kcmkwin/kwinoptions/windows.h @@ -283,6 +283,7 @@ private: bool alphaActivated; bool resetKompmgr_; bool kompmgrAvailable(); + void startKompmgr(); bool kompmgrAvailable_; KProcess *kompmgr; |