diff options
author | Ronan Pigott <ronan@rjp.ie> | 2022-11-18 20:05:24 -0700 |
---|---|---|
committer | Simon Ser <contact@emersion.fr> | 2022-11-26 09:48:58 +0100 |
commit | 30ad4dc4a5a41ce7c7aa85096a6e18f374172983 (patch) | |
tree | 9b88b2c72174819ddc7f59b6cda52d28014986d7 /include/sway | |
parent | bdeb9f95651f6c99cc2f4cfb59020ddee202cf36 (diff) |
launcher: export xdga tokens and use them for workspace matching
Diffstat (limited to 'include/sway')
-rw-r--r-- | include/sway/desktop/launcher.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/sway/desktop/launcher.h b/include/sway/desktop/launcher.h index 91915604..3b577f74 100644 --- a/include/sway/desktop/launcher.h +++ b/include/sway/desktop/launcher.h @@ -9,6 +9,8 @@ struct launcher_ctx { struct wlr_xdg_activation_token_v1 *token; struct wl_listener token_destroy; + bool activated; + struct sway_node *node; struct wl_listener node_destroy; @@ -25,4 +27,6 @@ void launcher_ctx_destroy(struct launcher_ctx *ctx); struct launcher_ctx *launcher_ctx_create(void); +const char *launcher_ctx_get_token_name(struct launcher_ctx *ctx); + #endif |