davidedmundson added a comment.
> I think the call is deferred to get the correct areas repainted in the compositor. Right that's another reason. We both absolutely agree updating the shadow during the compostior pass would break stuff. The old code did a defer to get the shadow updated outside of the compositor pass. This code moves it earlier so the shadow gets updated outside of the compositor pass. setShadow is still called the same number of times. REVISION DETAIL https://phabricator.kde.org/D4990 To: davidedmundson, #plasma, graesslin Cc: graesslin, plasma-devel, progwolff, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol
