<table><tr><td style="">broulik created this revision.<br />broulik added a reviewer: KWin.<br />Herald added a project: KWin.<br />Herald added a subscriber: kwin.<br />broulik 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/D28101">View Revision</a></tr></table><br /><div><strong>REVISION SUMMARY</strong><div><p>There's some X11-reliance in <tt style="background: #ebebeb; font-size: 13px;">Toplevel</tt> which is ideally split out but for now let's check for <tt style="background: #ebebeb; font-size: 13px;">info</tt> being null.<br />
For instance, accessing <tt style="background: #ebebeb; font-size: 13px;">pid()</tt> on a deleted Wayland client can crash when it's no longer a <tt style="background: #ebebeb; font-size: 13px;">XdgShellClient</tt>.</p></div></div><br /><div><strong>TEST PLAN</strong><div><ul class="remarkup-list">
<li class="remarkup-list-item">Had an effect that called <tt style="background: #ebebeb; font-size: 13px;">EffectWindow->pid()</tt> in <tt style="background: #ebebeb; font-size: 13px;">windowDeleted</tt>. No longer crashes now</li>
</ul></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/D28101">https://phabricator.kde.org/D28101</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>toplevel.cpp</div></div></div><br /><div><strong>To: </strong>broulik, KWin<br /><strong>Cc: </strong>kwin, Orage, cacarry, 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>