aboutsummaryrefslogtreecommitdiff
path: root/foot-features.h
diff options
context:
space:
mode:
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
+}