diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2025-01-17 10:22:23 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2025-01-17 10:22:23 +0000 |
| commit | aeb28e33fa774e9d00ffbc1054c6152ebe54babd (patch) | |
| tree | ca48264e38111c44f001017d779090cc8c6e9d88 /foot-features.h | |
| parent | Add support for the new Wayland protocol xdg-system-bell (diff) | |
features: add +/-system-bell to version output
Diffstat (limited to 'foot-features.h')
| -rw-r--r-- | foot-features.h | 9 |
1 files changed, 9 insertions, 0 deletions
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 +} |
