diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-08-11 20:48:28 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-08-11 20:48:28 +0000 |
commit | 4f1f76a2d336f560ddc6aa5c01f67ceb42ddcbee (patch) | |
tree | d001603dbb9e970754ba8f0c5c6aa28d395c0113 /kwin/kcmkwin | |
parent | 36e2ff4f28c8971e9eb5151389c342e88236e55f (diff) | |
download | tdebase-4f1f76a2d336f560ddc6aa5c01f67ceb42ddcbee.tar.gz tdebase-4f1f76a2d336f560ddc6aa5c01f67ceb42ddcbee.zip |
Fix kompmgr in the following ways:
1. Repair spurious crash dialog
2. Make kompmgr start if enabled when Apply is clicked in KCM
3. Fix flickering and general graphical ickiness on desktop switch
4. Fix flickering on root pixmap change
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebase@1246518 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
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; |