Remove some redundant Toplevel::updateShadow() calls
Toplevel::setupCompositing() calls updateShadow().
This commit is contained in:
parent
c478722655
commit
99bcb0eea7
1 changed files with 0 additions and 4 deletions
|
@ -381,22 +381,18 @@ void Compositor::startupWithWorkspace()
|
|||
|
||||
for (X11Client *c : Workspace::self()->clientList()) {
|
||||
c->setupCompositing();
|
||||
c->updateShadow();
|
||||
}
|
||||
for (Unmanaged *c : Workspace::self()->unmanagedList()) {
|
||||
c->setupCompositing();
|
||||
c->updateShadow();
|
||||
}
|
||||
for (InternalClient *client : workspace()->internalClients()) {
|
||||
client->setupCompositing();
|
||||
client->updateShadow();
|
||||
}
|
||||
|
||||
if (auto *server = waylandServer()) {
|
||||
const auto clients = server->clients();
|
||||
for (AbstractClient *c : clients) {
|
||||
c->setupCompositing();
|
||||
c->updateShadow();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue