collect shadows of existing clients when toggling the compositor
REVIEW: 107965
This commit is contained in:
parent
f2226adca9
commit
b61f7c7cc2
1 changed files with 6 additions and 2 deletions
|
@ -251,12 +251,16 @@ void Compositor::slotCompositingOptionsInitialized()
|
|||
new EffectsHandlerImpl(this, m_scene); // sets also the 'effects' pointer
|
||||
connect(effects, SIGNAL(screenGeometryChanged(QSize)), SLOT(addRepaintFull()));
|
||||
addRepaintFull();
|
||||
foreach (Client * c, Workspace::self()->clientList())
|
||||
foreach (Client * c, Workspace::self()->clientList()) {
|
||||
c->setupCompositing();
|
||||
c->getShadow();
|
||||
}
|
||||
foreach (Client * c, Workspace::self()->desktopList())
|
||||
c->setupCompositing();
|
||||
foreach (Unmanaged * c, Workspace::self()->unmanagedList())
|
||||
foreach (Unmanaged * c, Workspace::self()->unmanagedList()) {
|
||||
c->setupCompositing();
|
||||
c->getShadow();
|
||||
}
|
||||
|
||||
emit compositingToggled(true);
|
||||
|
||||
|
|
Loading…
Reference in a new issue