[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    [kwin/Plasma/5.12] plugins/platforms/wayland: Use XdgShell Unstable V6 in nested wayland platform
From:       Martin_Flöser <null () kde ! org>
Date:       2018-05-20 13:40:45
Message-ID: E1fKOZp-0002KM-De () code ! kde ! org
[Download RAW message or body]

Git commit f28d44e5b2a900b42dd823de67d95ed0f21a2685 by Martin Flöser.
Committed on 20/05/2018 at 13:37.
Pushed by graesslin into branch 'Plasma/5.12'.

Use XdgShell Unstable V6 in nested wayland platform

Summary:
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: https://phabricator.kde.org/D11806

M  +1    -1    plugins/platforms/wayland/wayland_backend.cpp

https://commits.kde.org/kwin/f28d44e5b2a900b42dd823de67d95ed0f21a2685

diff --git a/plugins/platforms/wayland/wayland_backend.cpp \
b/plugins/platforms/wayland/wayland_backend.cpp index 1beec1710..e06881f09 100644
--- a/plugins/platforms/wayland/wayland_backend.cpp
+++ b/plugins/platforms/wayland/wayland_backend.cpp
@@ -525,7 +525,7 @@ void WaylandBackend::createSurface()
         m_seat->setInstallCursor(true);
     }
     // check for xdg shell
-    auto xdgIface = m_registry->interface(Registry::Interface::XdgShellUnstableV5);
+    auto xdgIface = m_registry->interface(Registry::Interface::XdgShellUnstableV6);
     if (xdgIface.name != 0) {
         m_xdgShell = m_registry->createXdgShell(xdgIface.name, xdgIface.version, \
this);  if (m_xdgShell && m_xdgShell->isValid()) {


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic