<table><tr><td style="">davidedmundson created this revision.<br />davidedmundson added a reviewer: Plasma.<br />Herald added a project: Frameworks.<br />Herald added a subscriber: kde-frameworks-devel.<br />davidedmundson 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/D28883">View Revision</a></tr></table><br /><div><strong>REVISION SUMMARY</strong><div><p>Removes the Global from the registry, but does not delete the underlying<br />
wl_global</p>
<p>Removal of a global is racey in wayland. <br />
A client could be trying to bind at that moment.</p>
<p>Typically globals are static for the lifespan of the compositor, however<br />
there are exceptions</p>
<p>For those cases this call will can remove the global from the registry,<br />
but still keep the wl_global instance alive<br />
and handling bind requests.</p>
<p>The compositor can then remove the Global wrapper (this object) deleting<br />
the wl_global after an arbitrary delay or<br />
keep it around for re-use for the duration of the compositor.</p></div></div><br /><div><strong>TEST PLAN</strong><div><p>Unit test<br />
Made blur global outlive BlurEffect - no longer disconnects plasma on config changes</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R127 KWayland</div></div></div><br /><div><strong>BRANCH</strong><div><div>master</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D28883">https://phabricator.kde.org/D28883</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>autotests/client/test_wayland_blur.cpp<br />
src/server/global.cpp<br />
src/server/global.h</div></div></div><br /><div><strong>To: </strong>davidedmundson, Plasma<br /><strong>Cc: </strong>kde-frameworks-devel, LeGast00n, cblack, michaelh, ngraham, bruns<br /></div>