D4989: more aggressively repaint when the shadow changes

Martin Gräßlin noreply at phabricator.kde.org
Fri Mar 10 06:16:41 UTC 2017


graesslin added inline comments.

INLINE COMMENTS

> toplevel.cpp:325
>      const QRect oldVisibleRect = visibleRect();
> +    addLayerRepaint(oldVisibleRect);
>      if (hasShadow()) {

We do have the repaints already. Check the dirtyRect and the following addLayerRepaint.

Instead of adding a new call lets fix it.

REPOSITORY
  R108 KWin

REVISION DETAIL
  https://phabricator.kde.org/D4989

To: mart, #plasma, graesslin
Cc: plasma-devel, kwin, #kwin, progwolff, lesliezhai, ali-mohamed, hardening, jensreuterberg, abetts, sebas, apol
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20170310/e3d731f0/attachment.html>


More information about the Plasma-devel mailing list