From 3004fba3cef3dd27fb2336f7dec16d6d262ac732 Mon Sep 17 00:00:00 2001 From: Hugo Pereira Da Costa Date: Thu, 10 Sep 2009 05:05:44 +0000 Subject: [PATCH] notify decorations when compositing is suspended svn path=/trunk/KDE/kdebase/workspace/; revision=1021802 --- composite.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/composite.cpp b/composite.cpp index 5a3a68ddd0..f75787ef2b 100644 --- a/composite.cpp +++ b/composite.cpp @@ -314,6 +314,9 @@ void Workspace::suspendCompositing( bool suspend ) compositingSuspended = suspend; finishCompositing(); setupCompositing(); // will do nothing if suspended + // notify decorations that composition state has changed + KDecorationFactory* factory = mgr->factory(); + factory->reset(SettingCompositing); emit compositingToggled( !compositingSuspended ); }