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 ad447767..77923aaf 100644
--- a/foot-features.h
+++ b/foot-features.h
@@ -37,3 +37,12 @@ static inline bool feature_graphemes(void)
return false;
#endif
}
+
+static inline bool feature_fractional_scaling(void)
+{
+#if defined(HAVE_FRACTIONAL_SCALE)
+ return true;
+#else
+ return false;
+#endif
+}