D1230: GBM remote access support for KWin

Roman Gilg noreply at phabricator.kde.org
Tue Mar 20 13:55:48 UTC 2018


romangg added inline comments.

INLINE COMMENTS

> drm_output.h:135
> +    const KWayland::Server::OutputInterface* getWaylandInterface() const {
> +        return m_waylandOutput.data();
> +    }

This gives me an compile error: invalid static_cast from type 'QObject*' to type 'KWayland::Server::OutputInterface*'

I assume you can just pass m_waylandOutput as QPointer and then access data() in passBuffer. This compiled for me.

REPOSITORY
  R108 KWin

BRANCH
  gbm-vnc

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

To: Kanedias, graesslin, davidedmundson, romangg, #kwin
Cc: jgrulich, romangg, ngraham, alexeymin, aacid, kwin, #kwin, davidedmundson, plasma-devel, schernikov, iodelay, bwowk, ZrenBot, lesliezhai, ali-mohamed, hardening, jensreuterberg, abetts, eliasp, sebas, apol, mart, hein
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20180320/5335cd73/attachment.html>


More information about the Plasma-devel mailing list