D5078: when the padding aroun the window changes, update

Marco Martin noreply at phabricator.kde.org
Fri Mar 17 16:37:11 UTC 2017


mart added a comment.


  In https://phabricator.kde.org/D5078#95679, @graesslin wrote:
  
  > 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.
  
  
  yes.
  so just update that property in a lambda without the actual call to addRepaintDuringGeometryUpdates? (and addLayerRepaint)

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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20170317/0afd442e/attachment.html>


More information about the Plasma-devel mailing list