aboutsummaryrefslogtreecommitdiff
path: root/foot-features.c
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2025-11-12 10:04:25 +0000
committerDaniel Eklöf <daniel@ekloef.se>2025-11-12 10:04:25 +0000
commitfc9625678fc7e295e7a7e03a5d47db21d4be3010 (patch)
treeb6a754c44e9dc37822e0d3fdcfa98f4c929b401e /foot-features.c
parentchangelog: triple-click when there's a quote in the last column (diff)
config: add toplevel-tag=TAG
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
Diffstat (limited to 'foot-features.c')
-rw-r--r--foot-features.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/foot-features.c b/foot-features.c
index 1b5bf7fd..f701533c 100644
--- a/foot-features.c
+++ b/foot-features.c
@@ -22,6 +22,12 @@ const char version_and_features[] =
" -graphemes"
#endif
+#if defined(HAVE_XDG_TOPLEVEL_TAG)
+ " +toplevel-tag"
+#else
+ " -toplevel-tag"
+#endif
+
#if !defined(NDEBUG)
" +assertions"
#else