diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2024-09-13 07:20:50 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2024-09-13 07:20:50 +0000 |
| commit | 33f3818520bd5f7a063f64442c54d41625332aeb (patch) | |
| tree | 33d21207b1f2473800358ec0a594942b965034db /foot-features.h | |
| parent | xsnprintf: various improvements related to xvsnprintf() and xsnprintf() (diff) | |
| parent | changelog: remove escape sequences we've reverted (diff) | |
Merge branch 'toplevel-icon'
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..674c1056 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_xdg_toplevel_icon(void) +{ +#if defined(HAVE_XDG_TOPLEVEL_ICON) + return true; +#else + return false; +#endif +} |
