<div>graesslin created this revision.<br />
graesslin added reviewers: Plasma, hein.<br />
Restricted Application added a project: Plasma.<br />
Restricted Application added a subscriber: plasma-devel.</div><br /><div><strong>REVISION SUMMARY</strong><div><p>So far when the active PlasmaWindow got unmapped or destroyed, the<br />
PlasmaWindowManagement didn't update the activeWindow. This means it<br />
could expose a deleted object through it's API which could result in<br />
a crash.</p>
<p>This change addresses the problem by updating the active window when<br />
a window gets unmapped or destroyed.</p></div></div><br /><div><strong>TEST PLAN</strong><div><p>Tests added which exposed the problem</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>rKWAYLAND KWayland</div></div></div><br /><div><strong>BRANCH</strong><div><div>active-window-cleanup</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D1621" rel="noreferrer">https://phabricator.kde.org/D1621</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>autotests/client/test_wayland_windowmanagement.cpp<br />
src/client/plasmawindowmanagement.cpp</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, hein<br /><strong>Cc: </strong>plasma-devel, sebas<br /></div>