diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2025-11-12 10:04:25 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2025-11-12 10:04:25 +0000 |
| commit | fc9625678fc7e295e7a7e03a5d47db21d4be3010 (patch) | |
| tree | b6a754c44e9dc37822e0d3fdcfa98f4c929b401e /wayland.h | |
| parent | changelog: 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 'wayland.h')
| -rw-r--r-- | wayland.h | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -23,6 +23,10 @@ #include <xdg-system-bell-v1.h> #include <xdg-toplevel-icon-v1.h> +#if defined(HAVE_XDG_TOPLEVEL_TAG) + #include <xdg-toplevel-tag-v1.h> +#endif + #include <fcft/fcft.h> #include <tllist.h> @@ -481,6 +485,10 @@ struct wayland { struct wp_presentation *presentation; uint32_t presentation_clock_id; +#if defined(HAVE_XDG_TOPLEVEL_TAG) + struct xdg_toplevel_tag_manager_v1 *toplevel_tag_manager; +#endif + #if defined(FOOT_IME_ENABLED) && FOOT_IME_ENABLED struct zwp_text_input_manager_v3 *text_input_manager; #endif |
