diff options
Diffstat (limited to 'kdecore/kdetcompmgr.cpp')
-rw-r--r-- | kdecore/kdetcompmgr.cpp | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/kdecore/kdetcompmgr.cpp b/kdecore/kdetcompmgr.cpp index 0b143d5de..c5cbd415f 100644 --- a/kdecore/kdetcompmgr.cpp +++ b/kdecore/kdetcompmgr.cpp @@ -49,16 +49,17 @@ int main(int argc, char **argv) KApplication app; app.detectCompositionManagerAvailable(); - if (!app.isCompositionManagerAvailable()) { +// if (!app.isCompositionManagerAvailable()) { KConfig config("kwinrc", true); config.setGroup( "Notification Messages" ); if (config.readBoolEntry("UseTranslucency",false)) { - app.detectCompositionManagerAvailable(true); + app.detectCompositionManagerAvailable(true, true); return 2; } else { + app.detectCompositionManagerAvailable(true, false); return 0; } - } +// } } |