From 5040859ee374fc5feceedc872c3d50d919f898e1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lubo=C5=A1=20Lu=C5=88=C3=A1k?= Date: Wed, 8 Nov 2006 14:45:30 +0000 Subject: [PATCH] Force re-creating of the Alt+F3 popup (opacity option). svn path=/branches/work/kwin_composite/; revision=603312 --- composite.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/composite.cpp b/composite.cpp index b26cd73151..2906f21f0d 100644 --- a/composite.cpp +++ b/composite.cpp @@ -90,6 +90,8 @@ void Workspace::setupCompositing() scene->windowAdded( c ); foreach( Unmanaged* c, unmanaged ) scene->windowAdded( c ); + delete popup; // force re-creation of the Alt+F3 popup (opacity option) + popup = NULL; } void Workspace::finishCompositing() @@ -121,6 +123,8 @@ void Workspace::finishCompositing() i.setOpacity( static_cast< unsigned long >((*it)->opacity() * 0xffffffff )); } } + delete popup; // force re-creation of the Alt+F3 popup (opacity option) + popup = NULL; } void Workspace::addDamage( int x, int y, int w, int h )