D8504: Scaled decorations in QPainter mode

Martin Flöser noreply at phabricator.kde.org
Thu Oct 26 18:29:27 UTC 2017


graesslin added inline comments.

INLINE COMMENTS

> decorationrenderer.cpp:42
>      auto markImageSizesDirty = [this]{ m_imageSizesDirty = true; };
> +    if (waylandServer()) {
> +        connect(client->client(), &AbstractClient::screenChanged, this, markImageSizesDirty);

Please don't check for waylandServer being non-null. Use the operationMode instead.

REPOSITORY
  R108 KWin

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

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


More information about the Plasma-devel mailing list