[platforms/wayland] Use xdg-shell stable protocol

Summary:
We support the stable xdg-shell protocol nowadays. So use this one instead of
version 6 unstable.

Test Plan:
Runs with other recent patches in KWin nested. In Weston nested session still
not yet working.

Reviewers: #kwin, davidedmundson

Reviewed By: #kwin, davidedmundson

Subscribers: kwin

Tags: #kwin

Differential Revision: https://phabricator.kde.org/D25129
This commit is contained in:
Roman Gilg 2019-11-03 17:08:59 +01:00
parent 9c0501eb8f
commit b89b1d8166

View file

@ -653,7 +653,7 @@ void WaylandBackend::createOutputs()
m_registry->createServerSideDecorationManager(ssdManagerIface.name, ssdManagerIface.version, this);
const auto xdgIface = m_registry->interface(Registry::Interface::XdgShellUnstableV6);
const auto xdgIface = m_registry->interface(Registry::Interface::XdgShellStable);
if (xdgIface.name != 0) {
m_xdgShell = m_registry->createXdgShell(xdgIface.name, xdgIface.version, this);
}