Commit f28d44e5 authored by Martin Flöser's avatar Martin Flöser
Browse files

Use XdgShell Unstable V6 in nested wayland platform

Changing the creation of the nested window from unstable v5 to v6 in
order to be supported on more compositors and to use KWin's better
supported platform.

Targeting 5.12 as this will help to remove support for unstable v5
from KWayland.

Test Plan: Run a nested KWin/Wayland on KWin/Wayland, everything looked fine

Reviewers: #kwin, #plasma

Subscribers: kwin

Tags: #kwin

Differential Revision:
parent e3250460
......@@ -525,7 +525,7 @@ void WaylandBackend::createSurface()
// check for xdg shell
auto xdgIface = m_registry->interface(Registry::Interface::XdgShellUnstableV5);
auto xdgIface = m_registry->interface(Registry::Interface::XdgShellUnstableV6);
if ( != 0) {
m_xdgShell = m_registry->createXdgShell(, xdgIface.version, this);
if (m_xdgShell && m_xdgShell->isValid()) {
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment