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
finishCompositing();
// resume compositing if suspended
compositingSuspended = false;
setupCompositing();
KDecorationFactory* factory = mgr->factory();
factory->reset(SettingCompositing);
if( effects ) // setupCompositing() may fail
{
effects->reconfigure();