<table><tr><td style="">davidedmundson created this revision.<br />davidedmundson added reviewers: KWin, Plasma.<br />Herald added a project: Plasma.<br />Herald added a subscriber: plasma-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/D17758">View Revision</a></tr></table><br /><div><strong>REVISION SUMMARY</strong><div><p>XdgDecoration is built into QtWayland 5.12. Running two interfaces to do<br />
the same thing would be messy.</p>

<p>We cannot just remove this code as Plasma 5.15 will depend on Qt5.11.</p>

<p>Detection of the ShellSurfaceInterface was used to test if we have run<br />
shellSurfaceCreated which we still need for other functions, so this check <br />
is replaced with a new explicit property.</p></div></div><br /><div><strong>TEST PLAN</strong><div><p>Got the correct decorations still.<br />
I haven't tested on Qt5.11. I would appreciate someone checking that <br />
things still work the same.</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R135 Integration for Qt applications in Plasma</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/D17758">https://phabricator.kde.org/D17758</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>src/platformtheme/kwaylandintegration.cpp</div></div></div><br /><div><strong>To: </strong>davidedmundson, KWin, Plasma<br /><strong>Cc: </strong>plasma-devel, GB_2, ragreen, Pitel, ZrenBot, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, mart<br /></div>