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 587abbad86)
pull/182/head
Slávek Banko 4 years ago
parent f8b3e8cf68
commit 2b67b1335d
No known key found for this signature in database
GPG Key ID: 608F5293A04BE668

@ -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());

Loading…
Cancel
Save