<div>graesslin created this revision.<br />
graesslin added a reviewer: Plasma.<br />
Restricted Application added a project: Plasma.<br />
Restricted Application added a subscriber: plasma-devel.</div><br /><div><strong>REVISION SUMMARY</strong><div><p>The protocol is extended by a dedicated destructor request. When a<br />
PlasmaWindow is umapped we no longer destroy the resource directly,<br />
but only send the unmap. The client is then supposed to clean up<br />
(which it already did in that case) and will invoke the destructor.</p>

<p>The PlasmaWindowInterface object will be automatically deleted after<br />
the unmap once all resources bound for it are destroyed.</p>

<p>The tests are extended by two new test cases which triggered protocol<br />
errors on the client side prior to this change.</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>rKWAYLAND KWayland</div></div></div><br /><div><strong>BRANCH</strong><div><div>improved-resource-cleanup-plasma-window</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D1594" rel="noreferrer">https://phabricator.kde.org/D1594</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>autotests/client/test_wayland_windowmanagement.cpp<br />
src/client/protocols/plasma-window-management.xml<br />
src/client/registry.cpp<br />
src/server/plasmawindowmanagement_interface.cpp<br />
src/server/plasmawindowmanagement_interface.h</div></div></div><br /><div><strong>EMAIL PREFERENCES</strong><div><a href="https://phabricator.kde.org/settings/panel/emailpreferences/" rel="noreferrer">https://phabricator.kde.org/settings/panel/emailpreferences/</a></div></div><br /><div><strong>To: </strong>graesslin, Plasma<br /><strong>Cc: </strong>plasma-devel, sebas<br /></div>