graesslin created this revision. Restricted Application added a project: KWin. Restricted Application added subscribers: kwin, plasma-devel.
REVISION SUMMARY The buffer for a XWayland window is larger than the actual size. Thus we need to use the clientSize as reference, not the buffer size. BUG: 382748 TEST PLAN Test passes REPOSITORY R108 KWin BRANCH scene-qpainter-fix-xwayland REVISION DETAIL https://phabricator.kde.org/D6952 AFFECTED FILES autotests/integration/scene_qpainter_test.cpp scene_qpainter.cpp To: graesslin, #kwin, #plasma Cc: plasma-devel, kwin, ZrenBot, progwolff, lesliezhai, ali-mohamed, hardening, jensreuterberg, abetts, sebas, apol, mart, lukas