D18577: Make XdgTest spec compliant

Vlad Zagorodniy noreply at phabricator.kde.org
Mon Jan 28 11:20:40 GMT 2019


zzag added inline comments.

INLINE COMMENTS

> xdgtest.cpp:124
>              Q_ASSERT(m_xdgShellSurface);
> -            connect(m_xdgShellSurface, &XdgShellSurface::sizeChanged, this, &XdgTest::render);
> -            render();
> +            connect(m_xdgShellSurface, &XdgShellSurface::configureRequested, this, [this](const QSize &size, KWayland::Client::XdgShellSurface::States states, int serial) {
> +                m_xdgShellSurface->ackConfigure(serial);

Q_UNUSED(size)
Q_UNUSED(states)

> xdgtest.cpp:129
> +
> +            m_xdgShellSurface->setTitle("Test Window");
> +

I had to use QStringLiteral to make it compile.

REPOSITORY
  R127 KWayland

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

To: davidedmundson, #kwin
Cc: zzag, kde-frameworks-devel, michaelh, ngraham, bruns
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20190128/f39a8fad/attachment-0001.html>


More information about the Kde-frameworks-devel mailing list