From d48a1c53f59e8b7c99c18f4e4a5693ca0b10bd52 Mon Sep 17 00:00:00 2001 From: Daniel Eklöf Date: Wed, 12 Mar 2025 17:53:04 +0100 Subject: meson: require wayland-protocols >= 1.41 --- wayland.h | 23 +++-------------------- 1 file changed, 3 insertions(+), 20 deletions(-) (limited to 'wayland.h') diff --git a/wayland.h b/wayland.h index ec27281a..6215d708 100644 --- a/wayland.h +++ b/wayland.h @@ -9,6 +9,7 @@ #include /* Wayland protocols */ +#include #include #include #include @@ -19,18 +20,8 @@ #include #include #include - -#if defined(HAVE_XDG_TOPLEVEL_ICON) - #include -#endif - -#if defined(HAVE_XDG_SYSTEM_BELL) - #include -#endif - -#if defined(HAVE_WP_COLOR_MANAGEMENT) - #include -#endif +#include +#include #include #include @@ -65,9 +56,7 @@ enum touch_state { struct wayl_surface { struct wl_surface *surf; struct wp_viewport *viewport; -#if defined(HAVE_WP_COLOR_MANAGEMENT) struct wp_color_management_surface_v1 *color_management; -#endif }; struct wayl_sub_surface { @@ -458,15 +447,10 @@ struct wayland { struct wp_single_pixel_buffer_manager_v1 *single_pixel_manager; -#if defined(HAVE_XDG_TOPLEVEL_ICON) struct xdg_toplevel_icon_manager_v1 *toplevel_icon_manager; -#endif -#if defined(HAVE_XDG_SYSTEM_BELL) struct xdg_system_bell_v1 *system_bell; -#endif -#if defined(HAVE_WP_COLOR_MANAGEMENT) struct { struct wp_color_manager_v1 *manager; struct wp_image_description_v1 *img_description; @@ -475,7 +459,6 @@ struct wayland { bool have_tf_ext_linear; bool have_primaries_srgb; } color_management; -#endif bool presentation_timings; struct wp_presentation *presentation; -- cgit v1.3