From a361d7917b311cad2def1ef42e740670cbddd7b1 Mon Sep 17 00:00:00 2001 From: Daniel Eklöf Date: Thu, 29 Jun 2023 16:12:54 +0200 Subject: main/client: add a version feature flag for cursor-shape --- foot-features.h | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'foot-features.h') diff --git a/foot-features.h b/foot-features.h index 77923aaf..f8043c12 100644 --- a/foot-features.h +++ b/foot-features.h @@ -46,3 +46,12 @@ static inline bool feature_fractional_scaling(void) return false; #endif } + +static inline bool feature_cursor_shape(void) +{ +#if defined(HAVE_CURSOR_SHAPE) + return true; +#else + return false; +#endif +} -- cgit v1.3