From 2a85eaaf169c51cfb24d4564fa58b4c89ce6d773 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Wed, 26 Jun 2024 16:26:18 +1000 Subject: [PATCH] GHOST/Wayland: reference the stable tablet-v2 API The tablet API become stable in wayland-protocol 1.35 --- intern/ghost/CMakeLists.txt | 2 +- intern/ghost/intern/GHOST_SystemWayland.cc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/intern/ghost/CMakeLists.txt b/intern/ghost/CMakeLists.txt index 92e7cbf1617..c6b7e5cbbca 100644 --- a/intern/ghost/CMakeLists.txt +++ b/intern/ghost/CMakeLists.txt @@ -442,7 +442,7 @@ elseif(WITH_GHOST_X11 OR WITH_GHOST_WAYLAND) ) # Tablet. generate_protocol_bindings( - "${WAYLAND_PROTOCOLS_DIR}/unstable/tablet/tablet-unstable-v2.xml" + "${WAYLAND_PROTOCOLS_DIR}/stable/tablet/tablet-v2.xml" ) # Primary-selection. generate_protocol_bindings( diff --git a/intern/ghost/intern/GHOST_SystemWayland.cc b/intern/ghost/intern/GHOST_SystemWayland.cc index 6f0c26474bf..2d58557a14b 100644 --- a/intern/ghost/intern/GHOST_SystemWayland.cc +++ b/intern/ghost/intern/GHOST_SystemWayland.cc @@ -65,7 +65,7 @@ #include #include #include -#include +#include #include #include #include