Managed clients may be also in the 'desktop's list.

svn path=/branches/work/kwin_composite/; revision=629751
This commit is contained in:
Luboš Luňák 2007-02-03 17:14:13 +00:00
parent 6f8de578b4
commit 35206efd25

View file

@ -122,10 +122,14 @@ void Workspace::setupCompositing()
addDamageFull(); addDamageFull();
foreach( Client* c, clients ) foreach( Client* c, clients )
c->setupCompositing(); c->setupCompositing();
foreach( Client* c, desktops )
c->setupCompositing();
foreach( Unmanaged* c, unmanaged ) foreach( Unmanaged* c, unmanaged )
c->setupCompositing(); c->setupCompositing();
foreach( Client* c, clients ) foreach( Client* c, clients )
scene->windowAdded( c ); scene->windowAdded( c );
foreach( Client* c, desktops )
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) delete popup; // force re-creation of the Alt+F3 popup (opacity option)
@ -139,12 +143,16 @@ void Workspace::finishCompositing()
delete cm_selection; delete cm_selection;
foreach( Client* c, clients ) foreach( Client* c, clients )
scene->windowClosed( c, NULL ); scene->windowClosed( c, NULL );
foreach( Client* c, desktops )
scene->windowClosed( c, NULL );
foreach( Unmanaged* c, unmanaged ) foreach( Unmanaged* c, unmanaged )
scene->windowClosed( c, NULL ); scene->windowClosed( c, NULL );
foreach( Deleted* c, deleted ) foreach( Deleted* c, deleted )
scene->windowDeleted( c ); scene->windowDeleted( c );
foreach( Client* c, clients ) foreach( Client* c, clients )
c->finishCompositing(); c->finishCompositing();
foreach( Client* c, desktops )
c->finishCompositing();
foreach( Unmanaged* c, unmanaged ) foreach( Unmanaged* c, unmanaged )
c->finishCompositing(); c->finishCompositing();
foreach( Deleted* c, deleted ) foreach( Deleted* c, deleted )