summaryrefslogtreecommitdiffstats
path: root/kwin/kcmkwin/kwinoptions/windows.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kwin/kcmkwin/kwinoptions/windows.cpp')
-rw-r--r--kwin/kcmkwin/kwinoptions/windows.cpp11
1 files changed, 11 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)