diff options
author | Johan Klokkhammer Helsing <johan.helsing@qt.io> | 2018-05-24 11:46:11 +0200 |
---|---|---|
committer | Johan Helsing <johan.helsing@qt.io> | 2018-05-29 07:29:32 +0000 |
commit | d26abdb7a1a0265d09683c0259e1b5ea9a866b09 (patch) | |
tree | b1110bd7884c76d6b35cb085daebc60a1a998d74 /src/client/qwaylandintegration.cpp | |
parent | 89d3c4a13b3e27dd511064812bb52d00cedb9479 (diff) |
Client: Add shell integration for xdg-shell stable
[ChangeLog][QPA plugin] Added support for xdg-shell stable.
Mostly a copy of xdg_shell unstable v6 with prefixes and suffixes
removed. Otherwise, this is what changed:
- The global is now named "xdg_wm_base", since "xdg_shell" was taken by
xdg-shell <= v5.
- Anchors and gravities are not bitfields anymore.
Task-number: QTBUG-66783
Change-Id: I8ca881aae52cc07b22ff5e26df13a9a1566f58f4
Reviewed-by: Paul Olav Tvete <paul.tvete@qt.io>
Diffstat (limited to 'src/client/qwaylandintegration.cpp')
-rw-r--r-- | src/client/qwaylandintegration.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/client/qwaylandintegration.cpp b/src/client/qwaylandintegration.cpp index 6ab5f0f20..f05d146c3 100644 --- a/src/client/qwaylandintegration.cpp +++ b/src/client/qwaylandintegration.cpp @@ -388,6 +388,7 @@ void QWaylandIntegration::initializeShellIntegration() if (!targetKey.isEmpty()) { preferredShells << targetKey; } else { + preferredShells << QLatin1String("xdg-shell"); preferredShells << QLatin1String("xdg-shell-v6"); QString useXdgShell = QString::fromLocal8Bit(qgetenv("QT_WAYLAND_USE_XDG_SHELL")); if (!useXdgShell.isEmpty() && useXdgShell != QLatin1String("0")) { |