<table><tr><td style="">zzag created this revision.<br />zzag added a reviewer: KWin.<br />Herald added a project: KWin.<br />Herald added a subscriber: kwin.<br />zzag requested review of this revision.
</td><a style="text-decoration: none; padding: 4px 8px; margin: 0 8px 8px; float: right; color: #464C5C; font-weight: bold; border-radius: 3px; background-color: #F7F7F9; background-image: linear-gradient(to bottom,#fff,#f1f0f1); display: inline-block; border: 1px solid rgba(71,87,120,.2);" href="https://phabricator.kde.org/D27167">View Revision</a></tr></table><br /><div><strong>REVISION SUMMARY</strong><div><p>If the frame geometry is changed in any away, for example if the client<br />
has been moved, resized, or both, setFrameGeometry() will schedule a layer<br />
repaint for the visible geometry before and after the update.</p>
<p>When there is a resize effect, we only send requests to the client window<br />
to render contents at the new size. setFrameGeometry() is not called and<br />
therefore no layer repaints are scheduled.</p>
<p>Only the resize effect knows what parts of the window or the screen must<br />
be repainted and thus it must be responsible for scheduling repaints.</p>
<p>A full repaint in AbstractClient::performMoveResize() is scheduled mostly<br />
for historical reasons.</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R108 KWin</div></div></div><br /><div><strong>BRANCH</strong><div><div>put-resize-effect-in-charge-scheduling-repaints</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D27167">https://phabricator.kde.org/D27167</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>abstract_client.cpp</div></div></div><br /><div><strong>To: </strong>zzag, KWin<br /><strong>Cc: </strong>kwin, Orage, LeGast00n, The-Feren-OS-Dev, cblack, jraleigh, zachus, fbampaloukas, GB_2, mkulinski, ragreen, jackyalcine, iodelay, crozbo, bwowk, ZrenBot, ngraham, alexeymin, himcesjf, lesliezhai, ali-mohamed, hardening, romangg, jensreuterberg, abetts, sebas, apol, ahiemstra, mart<br /></div>