graesslin added a comment.
So if I understand correctly on the paddingChanged we do not need to repaint, you are only interested in the update of the m_visibleRectBeforeGeometryUpdate? In that case I suggest to update it whenever the shadow changes. REPOSITORY R108 KWin REVISION DETAIL https://phabricator.kde.org/D5078 To: mart, #plasma, davidedmundson, graesslin Cc: plasma-devel, kwin, #kwin, progwolff, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol
