Fix reseting.

svn path=/trunk/kdebase/kwin/; revision=251826
This commit is contained in:
Luboš Luňák 2003-09-17 11:44:33 +00:00
parent ed8b2ae9d8
commit 48af013ee1

View file

@ -157,7 +157,7 @@ bool KDEDefaultHandler::reset( unsigned long changed )
createPixmaps();
}
KDEDefault_initialized = true;
bool need_recreate = ( changed & ( SettingFont | SettingButtons | SettingBorder )) != 0;
bool need_recreate = ( changed & ( SettingDecoration | SettingFont | SettingButtons | SettingBorder )) != 0;
if( need_recreate ) // something else than colors changed
return true;
resetDecorations( changed );