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
This commit is contained in:
Vlad Zagorodniy 2019-09-05 10:45:36 +03:00
parent d690d913fb
commit 5cb1a71889

View file

@ -514,10 +514,6 @@ void Compositor::deleteUnusedSupportProperties()
void Compositor::configChanged()
{
reinitialize();
if (effects) {
// setupCompositing() might fail.
effects->reconfigure();
}
addRepaintFull();
}