notify decorations when compositing is enabled/disabled

svn path=/trunk/KDE/kdebase/workspace/; revision=1021803
This commit is contained in:
Hugo Pereira Da Costa 2009-09-10 05:06:53 +00:00
parent 3004fba3ce
commit 88dc7eccfd

View file

@ -1135,9 +1135,13 @@ void Workspace::slotReinitCompositing()
// Restart compositing // Restart compositing
finishCompositing(); finishCompositing();
// resume compositing if suspended // resume compositing if suspended
compositingSuspended = false; compositingSuspended = false;
setupCompositing(); setupCompositing();
KDecorationFactory* factory = mgr->factory();
factory->reset(SettingCompositing);
if( effects ) // setupCompositing() may fail if( effects ) // setupCompositing() may fail
{ {
effects->reconfigure(); effects->reconfigure();