aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorLibravatar Ronan Pigott <ronan@rjp.ie>2022-11-18 20:05:24 -0700
committerLibravatar Simon Ser <contact@emersion.fr>2022-11-26 09:48:58 +0100
commit30ad4dc4a5a41ce7c7aa85096a6e18f374172983 (patch)
tree9b88b2c72174819ddc7f59b6cda52d28014986d7 /include
parentlauncher: fudge the interface a bit (diff)
downloadsway-30ad4dc4a5a41ce7c7aa85096a6e18f374172983.tar.gz
sway-30ad4dc4a5a41ce7c7aa85096a6e18f374172983.tar.zst
sway-30ad4dc4a5a41ce7c7aa85096a6e18f374172983.zip
launcher: export xdga tokens and use them for workspace matching
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 {
9 struct wlr_xdg_activation_token_v1 *token; 9 struct wlr_xdg_activation_token_v1 *token;
10 struct wl_listener token_destroy; 10 struct wl_listener token_destroy;
11 11
12 bool activated;
13
12 struct sway_node *node; 14 struct sway_node *node;
13 struct wl_listener node_destroy; 15 struct wl_listener node_destroy;
14 16
@@ -25,4 +27,6 @@ void launcher_ctx_destroy(struct launcher_ctx *ctx);
25 27
26struct launcher_ctx *launcher_ctx_create(void); 28struct launcher_ctx *launcher_ctx_create(void);
27 29
30const char *launcher_ctx_get_token_name(struct launcher_ctx *ctx);
31
28#endif 32#endif