<table><tr><td style="">fvogt created this revision.<br />fvogt added a reviewer: KDE Connect.<br />Herald added a project: KDE Connect.<br />fvogt 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/D22562">View Revision</a></tr></table><br /><div><strong>REVISION SUMMARY</strong><div><p>It's possible that Qt uses the xcb platform by default even in a Wayland<br />
session, so detect such cases and switch to wayland instead to enable<br />
proper support for remote input. Copy code from libkworkspace to not<br />
introduce a dependency.</p></div></div><br /><div><strong>TEST PLAN</strong><div><p>Started kdeconnectd, uses wayland platform now. Remote input works.</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R224 KDE Connect</div></div></div><br /><div><strong>BRANCH</strong><div><div>1.x</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D22562">https://phabricator.kde.org/D22562</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>daemon/kdeconnectd.cpp</div></div></div><br /><div><strong>To: </strong>fvogt, KDE Connect<br /><strong>Cc: </strong>kdeconnect, ewentzel, dshelley, pawelkwiecinski, ctakano, vporvaznik, mschroeder, varunp, shivanshukantprasad, skymoore, fbampaloukas, brute4s99, wistak, anoopv, dvalencia, rmenezes, julioc, Leptopoda, timothyc, Danial0_0, johnq, Pitel, domson, adeen-s, SemperPeritus, daniel.z.tg, jeanv, seebauer, bugzy, MayeulC, lemuel, menasshock, mikesomov, tctara, apol<br /></div>