Revertlast, will be fixed properly. Next time when you decide to revert
something, please at least look at the commit you're reverting - this is obviously broken too. CCMAIL: Andreas Hartmetz <ahartmetz@gmail.com> svn path=/trunk/KDE/kdebase/workspace/; revision=1058203
This commit is contained in:
parent
601233bcc1
commit
868e08f380
1 changed files with 8 additions and 4 deletions
12
options.cpp
12
options.cpp
|
@ -58,8 +58,8 @@ Options::~Options()
|
|||
unsigned long Options::updateSettings()
|
||||
{
|
||||
KSharedConfig::Ptr _config = KGlobal::config();
|
||||
// read decoration settings
|
||||
const unsigned long changed = KDecorationOptions::updateSettings( _config.data() );
|
||||
unsigned long changed = 0;
|
||||
changed |= KDecorationOptions::updateSettings( _config.data() ); // read decoration settings
|
||||
|
||||
KConfigGroup config( _config, "Windows" );
|
||||
moveMode = stringToMoveResizeMode( config.readEntry("MoveMode", "Opaque" ));
|
||||
|
@ -229,8 +229,12 @@ void Options::reloadCompositingSettings()
|
|||
|
||||
// Compositing settings
|
||||
CompositingPrefs prefs;
|
||||
prefs.detect();
|
||||
useCompositing = config.readEntry("Enabled", prefs.enableCompositing());
|
||||
useCompositing = config.readEntry("Enabled", true);
|
||||
if (useCompositing)
|
||||
{
|
||||
prefs.detect();
|
||||
useCompositing = prefs.enableCompositing();
|
||||
}
|
||||
if (!useCompositing)
|
||||
return;
|
||||
|
||||
|
|
Loading…
Reference in a new issue