aboutsummaryrefslogtreecommitdiff
path: root/foot-features.h
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2025-01-17 10:22:23 +0000
committerDaniel Eklöf <daniel@ekloef.se>2025-01-17 10:22:23 +0000
commitaeb28e33fa774e9d00ffbc1054c6152ebe54babd (patch)
treeca48264e38111c44f001017d779090cc8c6e9d88 /foot-features.h
parentAdd 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.h9
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
+}