summaryrefslogtreecommitdiffstats
path: root/twin/kcmtwin/twinoptions/windows.cpp
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2020-04-06 02:05:16 +0200
committerSlávek Banko <slavek.banko@axis.cz>2020-04-06 02:05:33 +0200
commit2b67b1335da9bb62a94bb66891aead57b07cbc7f (patch)
tree506b3574c97d43a894d65db2cb168cd62dba7744 /twin/kcmtwin/twinoptions/windows.cpp
parentf8b3e8cf6810ee20bb53c5a2d6ccce0769123ace (diff)
downloadtdebase-2b67b1335da9bb62a94bb66891aead57b07cbc7f.tar.gz
tdebase-2b67b1335da9bb62a94bb66891aead57b07cbc7f.zip
Fix bad section for FocusStealingPreventionLevel value in twinrc.
This resolves issue #137. Signed-off-by: Slávek Banko <slavek.banko@axis.cz> (cherry picked from commit 587abbad86d126f454f974967e726024817be9a8)
Diffstat (limited to 'twin/kcmtwin/twinoptions/windows.cpp')
-rw-r--r--twin/kcmtwin/twinoptions/windows.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/twin/kcmtwin/twinoptions/windows.cpp b/twin/kcmtwin/twinoptions/windows.cpp
index 0087231ba..66249d474 100644
--- a/twin/kcmtwin/twinoptions/windows.cpp
+++ b/twin/kcmtwin/twinoptions/windows.cpp
@@ -503,13 +503,13 @@ void KFocusConfig::load( void )
setRollOverDesktops( config->readBoolEntry(KWIN_ROLL_OVER_DESKTOPS, true ));
- config->setGroup( "PopupInfo" );
- setShowPopupinfo( config->readBoolEntry(KWIN_SHOW_POPUP, false ));
-
// setFocusStealing( config->readNumEntry(KWIN_FOCUS_STEALING, 2 ));
// TODO default to low for now
setFocusStealing( config->readNumEntry(KWIN_FOCUS_STEALING, 1 ));
+ config->setGroup( "PopupInfo" );
+ setShowPopupinfo( config->readBoolEntry(KWIN_SHOW_POPUP, false ));
+
config->setGroup( "TabBox" );
setTraverseAll( config->readBoolEntry(KWIN_TRAVERSE_ALL, false ));
@@ -566,11 +566,11 @@ void KFocusConfig::save( void )
config->writeEntry( KWIN_ROLL_OVER_DESKTOPS, rollOverDesktops->isChecked());
+ config->writeEntry(KWIN_FOCUS_STEALING, focusStealing->currentItem());
+
config->setGroup( "PopupInfo" );
config->writeEntry( KWIN_SHOW_POPUP, showPopupinfo->isChecked());
- config->writeEntry(KWIN_FOCUS_STEALING, focusStealing->currentItem());
-
config->setGroup( "TabBox" );
config->writeEntry( KWIN_TRAVERSE_ALL , traverseAll->isChecked());