From 5cb1a71889f983596660ca1a77a9cb742bf42da9 Mon Sep 17 00:00:00 2001 From: Vlad Zagorodniy Date: Thu, 5 Sep 2019 10:45:36 +0300 Subject: [PATCH] Reconfigure effects only once on config change Summary: Compositor::reinitialize() already reconfigures effects. Reviewers: #kwin Subscribers: kwin Tags: #kwin Differential Revision: https://phabricator.kde.org/D23607 --- composite.cpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/composite.cpp b/composite.cpp index 08bf82952f..416277cdba 100644 --- a/composite.cpp +++ b/composite.cpp @@ -514,10 +514,6 @@ void Compositor::deleteUnusedSupportProperties() void Compositor::configChanged() { reinitialize(); - if (effects) { - // setupCompositing() might fail. - effects->reconfigure(); - } addRepaintFull(); }