<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/D24462">View Revision</a></tr></table><br /><div><strong>REVISION SUMMARY</strong><div><p>Currently our Scene is quite naive about geometry. It assumes that the<br />
window frame wraps attached buffer/client. While this is true for X11<br />
clients, such geometry model is not suitable for client-side decorated<br />
clients, in our case for xdg-shell clients that set window geometry<br />
other than the bounding rectangle of the main surface.</p>

<p>In general, the proposed solution doesn't make any concrete assumptions<br />
about the order between frame and buffer geometry, however we may still<br />
need to reconsider the design of Scene once it starts to generate quads<br />
for sub-surfaces.</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R108 KWin</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D24462">https://phabricator.kde.org/D24462</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>abstract_client.h<br />
deleted.cpp<br />
deleted.h<br />
effects.cpp<br />
plugins/scenes/opengl/scene_opengl.cpp<br />
plugins/scenes/qpainter/scene_qpainter.cpp<br />
plugins/scenes/xrender/scene_xrender.cpp<br />
scene.cpp<br />
scene.h<br />
toplevel.cpp<br />
toplevel.h<br />
x11client.cpp<br />
x11client.h<br />
xcbutils.h</div></div></div><br /><div><strong>To: </strong>zzag, KWin<br /><strong>Cc: </strong>kwin, LeGast00n, The-Feren-OS-Dev, sbergeron, jraleigh, fbampaloukas, GB_2, mkulinski, ragreen, jackyalcine, iodelay, crozbo, bwowk, ZrenBot, ngraham, alexeymin, himcesjf, lesliezhai, ali-mohamed, hardening, romangg, jensreuterberg, abetts, sebas, apol, mart<br /></div>