From 88dc7eccfdb82fd1e1089d01205a4458c3ead2a2 Mon Sep 17 00:00:00 2001 From: Hugo Pereira Da Costa Date: Thu, 10 Sep 2009 05:06:53 +0000 Subject: [PATCH] notify decorations when compositing is enabled/disabled svn path=/trunk/KDE/kdebase/workspace/; revision=1021803 --- workspace.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/workspace.cpp b/workspace.cpp index a1127293d0..76af89ea60 100644 --- a/workspace.cpp +++ b/workspace.cpp @@ -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();