File kwin-decor-suse2-suse.diff of Package kwin-decor-suse2

--- src/config/config.cpp
+++ src/config/config.cpp
@@ -120,7 +120,7 @@ void SUSE2Config::load(KConfig *)
     bool titleShadow = m_config->readBoolEntry("TitleShadow", true);
     m_dialog->titleShadow->setChecked(titleShadow);
 
-    int addSpace = m_config->readNumEntry("AddSpace", 4);
+    int addSpace = m_config->readNumEntry("AddSpace", 5);
     m_dialog->addSpace->setValue(addSpace);
 
     int titlebarStyle = m_config->readNumEntry("TitleBarStyle", 0);
@@ -147,7 +147,7 @@ void SUSE2Config::load(KConfig *)
     bool customIconColors = m_config->readBoolEntry("CustomIconColors", false);
     m_dialog->customIconColors->setChecked(customIconColors);
 
-    QColor afgcolor = QColor(10, 20, 40);
+    QColor afgcolor = QColor(242, 242, 255);
     QColor aFgColor = m_config->readColorEntry("AFgColor", &afgcolor);
     m_dialog->activeFgColor->setColor(aFgColor);
 
@@ -169,7 +169,7 @@ void SUSE2Config::load(KConfig *)
     bool titleBarLogo = m_config->readBoolEntry("TitleBarLogo", false);
     m_dialog->titleBarLogo->setChecked(titleBarLogo);
 
-    int titleBarLogoOffset = m_config->readNumEntry("TitleBarLogoOffset", 3);
+    int titleBarLogoOffset = m_config->readNumEntry("TitleBarLogoOffset", 5);
     m_dialog->titleBarLogoOffset->setValue(titleBarLogoOffset);
 
     QString titleBarImage = locate("data", "kwin/pics/titlebar_decor.png");
--- src/SUSE2.cpp
+++ src/SUSE2.cpp
@@ -154,11 +154,11 @@ void SUSE2Handler::readConfig()
     else if (roundValue == "NotMaximized") m_roundCorners = 2;
     else if (roundValue == "RoundNever")   m_roundCorners = 3;
 
-    m_menuClose = config.readBoolEntry("CloseOnMenuDoubleClick", true);
+    m_menuClose = config.readBoolEntry("CloseOnMenuDoubleClick", false);
     m_titleShadow = config.readBoolEntry("TitleShadow", true);
 
     QFontMetrics fm(m_titleFont);  // active font = inactive font
-    int addSpace = config.readNumEntry("AddSpace", 4);
+    int addSpace = config.readNumEntry("AddSpace", 5);
     // The title should stretch with bigger font sizes!
     m_titleHeight = QMAX(16, fm.height() + addSpace);
 
@@ -167,14 +167,14 @@ void SUSE2Handler::readConfig()
 
     m_titlebarStyle = config.readNumEntry("TitleBarStyle", 0);
 
-    m_buttonType = config.readNumEntry("TitleBarButtonType", 0);
+    m_buttonType = config.readNumEntry("TitleBarButtonType", 2);
     m_customColors = config.readBoolEntry("CustomColors", false);
     m_useTitleProps = config.readBoolEntry("UseTitleProps", false);
     m_animateButtons = config.readBoolEntry("AnimateButtons", true);
     m_redCloseButton = config.readBoolEntry("RedCloseButton", false);
     m_iconSize = (config.readNumEntry("IconSize", 45))/100.0;
     m_customIconColors = config.readBoolEntry("CustomIconColors", false);
-    QColor afgcolor = QColor(10, 20, 40);
+    QColor afgcolor = QColor(242, 242, 255);
     m_aFgColor = config.readColorEntry("AFgColor", &afgcolor);
     QColor abgcolor = QColor(210, 220, 240);
     m_aBgColor = config.readColorEntry("ABgColor", &abgcolor);
@@ -182,10 +182,10 @@ void SUSE2Handler::readConfig()
     m_iFgColor = config.readColorEntry("IFgColor", &ifgcolor);
     QColor ibgcolor = QColor(240, 240, 240);
     m_iBgColor = config.readColorEntry("IBgColor", &ibgcolor);
-    m_iconShadow = config.readBoolEntry("IconShadow", false);
+    m_iconShadow = config.readBoolEntry("IconShadow", true);
 
     m_titleLogo      = config.readBoolEntry("TitleBarLogo", true);
-    m_titleLogoOffset = config.readNumEntry("TitleBarLogoOffset", 3);
+    m_titleLogoOffset = config.readNumEntry("TitleBarLogoOffset", 5);
     m_titleLogoURL   = config.readEntry("TitleBarLogoURL", locate("data", "kwin/pics/titlebar_decor.png"));
 }
 
--- src/config/config.cpp
+++ src/config/config.cpp
@@ -129,10 +129,10 @@ void SUSE2Config::load(KConfig *)
     int titleButtonType = m_config->readNumEntry("TitleBarButtonType", 2);
     m_dialog->buttonType->setCurrentItem(titleButtonType);
 
-    bool customColors = m_config->readBoolEntry("CustomColors", false);
+    bool customColors = m_config->readBoolEntry("CustomColors", false);
     m_dialog->customColors->setChecked(customColors);
 
-    bool useTitleProps = m_config->readBoolEntry("UseTitleProps", true);
+    bool useTitleProps = m_config->readBoolEntry("UseTitleProps", false);
     m_dialog->useTitleProps->setChecked(useTitleProps);
 
     bool animateButtons = m_config->readBoolEntry("AnimateButtons", true);
--- src/SUSE2.cpp
+++ src/SUSE2.cpp
@@ -173,7 +173,7 @@ void SUSE2Handler::readConfig()
     m_animateButtons = config.readBoolEntry("AnimateButtons", true);
     m_redCloseButton = config.readBoolEntry("RedCloseButton", false);
     m_iconSize = (config.readNumEntry("IconSize", 45))/100.0;
-    m_customIconColors = config.readBoolEntry("CustomIconColors", false);
+    m_customIconColors = config.readBoolEntry("CustomIconColors", true);
     QColor afgcolor = QColor(242, 242, 255);
     m_aFgColor = config.readColorEntry("AFgColor", &afgcolor);
     QColor abgcolor = QColor(210, 220, 240);
--- src/config/config.cpp
+++ src/config/config.cpp
@@ -144,7 +144,7 @@ void SUSE2Config::load(KConfig *)
     int iconSize = m_config->readNumEntry("IconSize", 45);
     m_dialog->iconSize->setValue(iconSize);
 
-    bool customIconColors = m_config->readBoolEntry("CustomIconColors", false);
+    bool customIconColors = m_config->readBoolEntry("CustomIconColors", true);
     m_dialog->customIconColors->setChecked(customIconColors);
 
     QColor afgcolor = QColor(242, 242, 255);
openSUSE Build Service is sponsored by