diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2023-06-29 13:38:42 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2023-06-29 13:38:42 +0000 |
| commit | a44a0b4ebe728625ca39c741b5c8fbfd48f9fe9f (patch) | |
| tree | 520900e18bca59dccd345bf0c9d4af45a67e5233 /foot-features.h | |
| parent | correct csd section entry: hide-when-maximized (diff) | |
| parent | wayland: surface_scale(): reset buffer scale when using fractional scaling (diff) | |
Merge branch 'fractional-scaling'
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 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 +} |
