diff --git a/effects.cpp b/effects.cpp --- a/effects.cpp +++ b/effects.cpp @@ -254,6 +254,14 @@ connect(c, &Toplevel::windowShown, this, &EffectsHandlerImpl::slotShellClientShown); } ); + const auto clients = waylandServer()->clients(); + for (ShellClient *c : clients) { + if (c->readyForPainting()) { + setupAbstractClientConnections(c); + } else { + connect(c, &Toplevel::windowShown, this, &EffectsHandlerImpl::slotShellClientShown); + } + } } reconfigure(); }