diff --git a/clients/oxygen/config/oxygenconfigwidget.cpp b/clients/oxygen/config/oxygenconfigwidget.cpp
index e36212d55e..261bf510a0 100644
--- a/clients/oxygen/config/oxygenconfigwidget.cpp
+++ b/clients/oxygen/config/oxygenconfigwidget.cpp
@@ -77,6 +77,7 @@ namespace Oxygen
connect( ui.narrowButtonSpacing, SIGNAL(clicked()), SLOT(updateChanged()) );
connect( ui.closeFromMenuButton, SIGNAL(clicked()), SLOT(updateChanged()) );
connect( ui.separatorMode, SIGNAL(currentIndexChanged(int)), SLOT(updateChanged()) );
+ connect( ui.drawBorderOnMaximizedWindows, SIGNAL(clicked()), SLOT(updateChanged()) );
// track exception changes
connect( ui.exceptions, SIGNAL(changed(bool)), SLOT(updateChanged()) );
@@ -112,6 +113,7 @@ namespace Oxygen
ui.animationsEnabled->setChecked( _configuration->animationsEnabled() );
ui.narrowButtonSpacing->setChecked( _configuration->useNarrowButtonSpacing() );
ui.closeFromMenuButton->setChecked( _configuration->closeWindowFromMenuButton() );
+ ui.drawBorderOnMaximizedWindows->setChecked( _configuration->drawBorderOnMaximizedWindows() );
setChanged( false );
_animationConfigWidget->load();
@@ -134,7 +136,7 @@ namespace Oxygen
_configuration->setDrawTitleOutline( ui.titleOutline->isChecked() );
_configuration->setUseNarrowButtonSpacing( ui.narrowButtonSpacing->isChecked() );
_configuration->setCloseWindowFromMenuButton( ui.closeFromMenuButton->isChecked() );
-
+ _configuration->setDrawBorderOnMaximizedWindows( ui.drawBorderOnMaximizedWindows->isChecked() );
setChanged( false );
if( _expertMode ) _animationConfigWidget->save();
@@ -235,6 +237,7 @@ namespace Oxygen
else if( ui.titleOutline->isChecked() != _configuration->drawTitleOutline() ) modified = true;
else if( ui.narrowButtonSpacing->isChecked() != _configuration->useNarrowButtonSpacing() ) modified = true;
else if( ui.closeFromMenuButton->isChecked() != _configuration->closeWindowFromMenuButton() ) modified = true;
+ else if( ui.drawBorderOnMaximizedWindows->isChecked() != _configuration->drawBorderOnMaximizedWindows() ) modified = true;
// exceptions
else if( ui.exceptions->isChanged() ) modified = true;
diff --git a/clients/oxygen/config/ui/oxygenconfigurationui.ui b/clients/oxygen/config/ui/oxygenconfigurationui.ui
index 41c94a119a..d836351d91 100644
--- a/clients/oxygen/config/ui/oxygenconfigurationui.ui
+++ b/clients/oxygen/config/ui/oxygenconfigurationui.ui
@@ -217,6 +217,13 @@
4
+ -
+
+
+ Close windows by double clicking the menu button
+
+
+
-
-
@@ -301,6 +308,19 @@
+ -
+
+
+ Qt::Vertical
+
+
+
+ 20
+ 40
+
+
+
+
-
@@ -315,26 +335,13 @@
- -
-
+
-
+
- Close windows by double clicking the menu button
+ Display window borders for maximized windows
- -
-
-
- Qt::Vertical
-
-
-
- 20
- 40
-
-
-
-
diff --git a/clients/oxygen/oxygenclient.h b/clients/oxygen/oxygenclient.h
index 208e8724a4..af57dc5367 100644
--- a/clients/oxygen/oxygenclient.h
+++ b/clients/oxygen/oxygenclient.h
@@ -77,7 +77,7 @@ namespace Oxygen
//! true if window is maximized
virtual bool isMaximized( void ) const
- { return maximizeMode()==MaximizeFull && !options()->moveResizeMaximizedWindows(); }
+ { return maximizeMode()==MaximizeFull && !configuration()->drawBorderOnMaximizedWindows(); }
//! true if animations are used
bool animationsEnabled( void ) const
diff --git a/clients/oxygen/oxygenconfigdata.kcfg b/clients/oxygen/oxygenconfigdata.kcfg
index dc23224009..4542ab7350 100644
--- a/clients/oxygen/oxygenconfigdata.kcfg
+++ b/clients/oxygen/oxygenconfigdata.kcfg
@@ -83,6 +83,11 @@
true
+
+
+ false
+
+
true