notify decorations when compositing is enabled/disabled
svn path=/trunk/KDE/kdebase/workspace/; revision=1021803
This commit is contained in:
parent
3004fba3ce
commit
88dc7eccfd
1 changed files with 4 additions and 0 deletions
|
@ -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();
|
||||||
|
|
Loading…
Reference in a new issue