Load and save electric borders separately from the general settings.
Fixes bug preventing users from changing active screen edges. BUG: 176900 svn path=/trunk/KDE/kdebase/workspace/; revision=897888
This commit is contained in:
parent
07653a50a7
commit
433bea2003
1 changed files with 2 additions and 4 deletions
|
@ -335,8 +335,6 @@ void KWinCompositingConfig::loadGeneralTab()
|
|||
KConfigGroup cubeconfig(mKWinConfig, "Effect-Cube");
|
||||
if( effectEnabled( "cube", effectconfig ) && cubeconfig.readEntry("AnimateDesktopChange", false))
|
||||
ui.desktopSwitchingCombo->setCurrentIndex( 2 );
|
||||
|
||||
loadElectricBorders();
|
||||
}
|
||||
|
||||
bool KWinCompositingConfig::effectEnabled( const QString& effect, const KConfigGroup& cfg ) const
|
||||
|
@ -391,6 +389,7 @@ void KWinCompositingConfig::load()
|
|||
tmpconfig.writeEntry(it.key(), it.value());
|
||||
|
||||
loadGeneralTab();
|
||||
loadElectricBorders();
|
||||
loadEffectsTab();
|
||||
loadAdvancedTab();
|
||||
|
||||
|
@ -484,8 +483,6 @@ void KWinCompositingConfig::saveGeneralTab()
|
|||
}
|
||||
KConfigGroup cubeconfig(mKWinConfig, "Effect-Cube");
|
||||
cubeconfig.writeEntry("AnimateDesktopChange", cubeDesktopSwitching);
|
||||
|
||||
saveElectricBorders();
|
||||
}
|
||||
|
||||
void KWinCompositingConfig::saveEffectsTab()
|
||||
|
@ -551,6 +548,7 @@ void KWinCompositingConfig::save()
|
|||
loadGeneralTab();
|
||||
saveGeneralTab();
|
||||
}
|
||||
saveElectricBorders();
|
||||
bool advancedChanged = saveAdvancedTab();
|
||||
|
||||
// Copy Plugins group from temp config to real config
|
||||
|
|
Loading…
Reference in a new issue