diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2023-07-03 13:01:49 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2023-07-03 13:01:49 +0000 |
| commit | e00a20465b71a9c546c794e0f572b0db14810ffe (patch) | |
| tree | b2364ce0f323b3e7f339f7a68428f7fbc4c39328 /foot-features.h | |
| parent | wayland: handle enum value XDG_TOPLEVEL_STATE_SUSPENDED (diff) | |
| parent | meson: move cursor-shape.{c,h} from ‘foot’ binary to vtlib (diff) | |
Merge branch 'cursor-shape'
Closes #1379
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 77923aaf..f8043c12 100644 --- a/foot-features.h +++ b/foot-features.h @@ -46,3 +46,12 @@ static inline bool feature_fractional_scaling(void) return false; #endif } + +static inline bool feature_cursor_shape(void) +{ +#if defined(HAVE_CURSOR_SHAPE) + return true; +#else + return false; +#endif +} |
