From 30ad4dc4a5a41ce7c7aa85096a6e18f374172983 Mon Sep 17 00:00:00 2001 From: Ronan Pigott Date: Fri, 18 Nov 2022 20:05:24 -0700 Subject: launcher: export xdga tokens and use them for workspace matching --- include/sway/desktop/launcher.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'include/sway') 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 -- cgit v1.2.3