summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorRonan Pigott <ronan@rjp.ie>2022-11-18 20:05:24 -0700
committerSimon Ser <contact@emersion.fr>2022-11-26 10:29:59 +0100
commit97423ca9c79b4aa273b5d156299bc6a7c8428dc0 (patch)
tree6392bca40f386ab8a8b022109d9c393fcf9a43f6 /include
parentee9266cf8c8d1d445a52b07160e54411ec949b2f (diff)
launcher: export xdga tokens and use them for workspace matching
(cherry picked from commit 30ad4dc4a5a41ce7c7aa85096a6e18f374172983)
Diffstat (limited to 'include')
-rw-r--r--include/sway/desktop/launcher.h4
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