Sophie

Sophie

distrib > Mandriva > 2007.1 > i586 > by-pkgid > 957da2639ff0ff03ed8e388494a58800 > files > 93

kdebase4-3.80.3-0.20070311.6mdv2007.1.src.rpm

--- kdebase-3.4.2/kwin/plugins.cpp.fix_default_kwin_plugin	2005-05-23 14:14:55.000000000 +0200
+++ kdebase-3.4.2/kwin/plugins.cpp	2005-09-07 14:36:40.000000000 +0200
@@ -15,15 +15,19 @@ License. See the file "COPYING" for the 
 #include <klocale.h>
 #include <stdlib.h>
 #include <qpixmap.h>
-
+#include <kstandarddirs.h>
 namespace KWinInternal
 {
 
 PluginMgr::PluginMgr()
     : KDecorationPlugins( KGlobal::config())
     {
-    defaultPlugin = (QPixmap::defaultDepth() > 8) ?
-            "kwin3_plastik" : "kwin3_quartz";
+   if( !KStandardDirs::isDiscovery())
+       defaultPlugin = (QPixmap::defaultDepth() > 8) ?
+               "kwin3_iaora" : "kwin3_quartz";
+   else
+        defaultPlugin = (QPixmap::defaultDepth() > 8) ?
+                "kwin3_plastik" : "kwin3_quartz";
     loadPlugin( "" ); // load the plugin specified in cfg file
     }