mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-02-05 04:06:08 -05:00
Add support for the new xdg-toplevel-tag-v1 Wayland protocol, by exposing a new config option, `toplevel-tag`, and a corresponding command option, `--toplevel-tag` (in both `foot` and `footclient`). This can help the compositor with session management, or custom window rules. Closes #2212
36 lines
572 B
C
36 lines
572 B
C
#include "foot-features.h"
|
|
#include "version.h"
|
|
|
|
const char version_and_features[] =
|
|
"version: " FOOT_VERSION
|
|
|
|
#if defined(FOOT_PGO_ENABLED) && FOOT_PGO_ENABLED
|
|
" +pgo"
|
|
#else
|
|
" -pgo"
|
|
#endif
|
|
|
|
#if defined(FOOT_IME_ENABLED) && FOOT_IME_ENABLED
|
|
" +ime"
|
|
#else
|
|
" -ime"
|
|
#endif
|
|
|
|
#if defined(FOOT_GRAPHEME_CLUSTERING) && FOOT_GRAPHEME_CLUSTERING
|
|
" +graphemes"
|
|
#else
|
|
" -graphemes"
|
|
#endif
|
|
|
|
#if defined(HAVE_XDG_TOPLEVEL_TAG)
|
|
" +toplevel-tag"
|
|
#else
|
|
" -toplevel-tag"
|
|
#endif
|
|
|
|
#if !defined(NDEBUG)
|
|
" +assertions"
|
|
#else
|
|
" -assertions"
|
|
#endif
|
|
;
|