summaryrefslogtreecommitdiff
path: root/cmake
diff options
context:
space:
mode:
authorRyan C. Gordon <icculus@icculus.org>2018-02-07 13:13:55 -0500
committerRyan C. Gordon <icculus@icculus.org>2018-02-07 13:13:55 -0500
commit6e607243e91d05a8d7701da1da58a275a1584d24 (patch)
tree0d4fe6a012da6d1e69a5177ca0f1f7da1e299f54 /cmake
parente2789d898acad4e489b564f6ffd39060feb1a253 (diff)
downloadsdl-6e607243e91d05a8d7701da1da58a275a1584d24.tar.gz
wayland: Add support for xdg-shell protocol (unstable v6).
This is meant to be the desktop-enhanced version of wl_shell. Right now we just match what the existing wl_shell code does, but there are other areas of functionality available to us now, that we can fill in later. This uses the "unstable" API, since this is what ships in Ubuntu 17.10 (as part of Wayland 1.10), but Wayland 1.12 promotes this to stable with extremely minor changes. We will add support for the stable version when it makes sense to do so.
Diffstat (limited to 'cmake')
-rw-r--r--cmake/sdlchecks.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmake/sdlchecks.cmake b/cmake/sdlchecks.cmake
index 91e2f9792..4093594d4 100644
--- a/cmake/sdlchecks.cmake
+++ b/cmake/sdlchecks.cmake
@@ -685,7 +685,7 @@ macro(CheckWayland)
WaylandProtocolGen("${WAYLAND_SCANNER}" "${WAYLAND_CORE_PROTOCOL_DIR}/wayland.xml" "wayland")
- foreach(_PROTL relative-pointer-unstable-v1 pointer-constraints-unstable-v1)
+ foreach(_PROTL relative-pointer-unstable-v1 pointer-constraints-unstable-v1, xdg-shell-unstable-v6)
string(REGEX REPLACE "\\-unstable\\-.*$" "" PROTSUBDIR ${_PROTL})
WaylandProtocolGen("${WAYLAND_SCANNER}" "${WAYLAND_PROTOCOLS_DIR}/unstable/${PROTSUBDIR}/${_PROTL}.xml" "${_PROTL}")
endforeach()