From 99bcb0eea7fb0aad598af4c577a483bee2aab14a Mon Sep 17 00:00:00 2001 From: Vlad Zahorodnii Date: Tue, 9 Nov 2021 11:30:35 +0200 Subject: [PATCH] Remove some redundant Toplevel::updateShadow() calls Toplevel::setupCompositing() calls updateShadow(). --- src/composite.cpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/composite.cpp b/src/composite.cpp index beef915cab..6a458dd4a2 100644 --- a/src/composite.cpp +++ b/src/composite.cpp @@ -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(); } }