D22562: Add detectPlatform to always use wayland in a wayland session

Fabian Vogt noreply at phabricator.kde.org
Fri Jul 19 16:17:23 BST 2019


fvogt created this revision.
fvogt added a reviewer: KDE Connect.
Herald added a project: KDE Connect.
fvogt requested review of this revision.

REVISION SUMMARY
  It's possible that Qt uses the xcb platform by default even in a Wayland
  session, so detect such cases and switch to wayland instead to enable
  proper support for remote input. Copy code from libkworkspace to not
  introduce a dependency.

TEST PLAN
  Started kdeconnectd, uses wayland platform now. Remote input works.

REPOSITORY
  R224 KDE Connect

BRANCH
  1.x

REVISION DETAIL
  https://phabricator.kde.org/D22562

AFFECTED FILES
  daemon/kdeconnectd.cpp

To: fvogt, #kde_connect
Cc: 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kdeconnect/attachments/20190719/9c335c0d/attachment.html>


More information about the KDEConnect mailing list