From aeb28e33fa774e9d00ffbc1054c6152ebe54babd Mon Sep 17 00:00:00 2001 From: Daniel Eklöf Date: Fri, 17 Jan 2025 11:22:23 +0100 Subject: features: add +/-system-bell to version output --- 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 674c1056..0eef5eac 100644 --- a/foot-features.h +++ b/foot-features.h @@ -46,3 +46,12 @@ static inline bool feature_xdg_toplevel_icon(void) return false; #endif } + +static inline bool feature_xdg_system_bell(void) +{ +#if defined(HAVE_XDG_SYSTEM_BELL) + return true; +#else + return false; +#endif +} -- cgit v1.3