graesslin created this revision. graesslin added reviewers: KWin, Plasma. Restricted Application added a project: KWin. Restricted Application added subscribers: kwin, plasma-devel.
REVISION SUMMARY The highlight windows effect tried to trigger repaints with the shadow included by having an hardcoded pixel offset. This of course breaks if the shadow is larger than the hardcoded value. The reason presented on why it was done like that is no longer true and in the effects the actual visible area including decorations and shadows is available through the expandedGeometry. BUG: 368495 REPOSITORY rKWIN KWin BRANCH highlightwindows-proper-repaint REVISION DETAIL https://phabricator.kde.org/D2748 AFFECTED FILES effects/highlightwindow/highlightwindow.cpp EMAIL PREFERENCES https://phabricator.kde.org/settings/panel/emailpreferences/ To: graesslin, #kwin, #plasma Cc: plasma-devel, kwin, lesliezhai, ali-mohamed, hardening, jensreuterberg, abetts, sebas