Force re-creating of the Alt+F3 popup (opacity option).

svn path=/branches/work/kwin_composite/; revision=603312
This commit is contained in:
Luboš Luňák 2006-11-08 14:45:30 +00:00
parent 3f0d6b97c1
commit 5040859ee3

View file

@ -90,6 +90,8 @@ void Workspace::setupCompositing()
scene->windowAdded( c ); scene->windowAdded( c );
foreach( Unmanaged* c, unmanaged ) foreach( Unmanaged* c, unmanaged )
scene->windowAdded( c ); scene->windowAdded( c );
delete popup; // force re-creation of the Alt+F3 popup (opacity option)
popup = NULL;
} }
void Workspace::finishCompositing() void Workspace::finishCompositing()
@ -121,6 +123,8 @@ void Workspace::finishCompositing()
i.setOpacity( static_cast< unsigned long >((*it)->opacity() * 0xffffffff )); 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 ) void Workspace::addDamage( int x, int y, int w, int h )