aboutsummaryrefslogtreecommitdiff
path: root/config.h
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 /config.h
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 'config.h')
-rw-r--r--config.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/config.h b/config.h
index 37b3259f..fc5e290e 100644
--- a/config.h
+++ b/config.h
@@ -219,6 +219,7 @@ struct config {
char *shell;
char *title;
char *app_id;
+ char *toplevel_tag;
char32_t *word_delimiters;
bool login_shell;
bool locked_title;