diff options
author | Ronan Pigott <ronan@rjp.ie> | 2022-11-18 20:05:24 -0700 |
---|---|---|
committer | Simon Ser <contact@emersion.fr> | 2022-11-26 10:29:59 +0100 |
commit | 97423ca9c79b4aa273b5d156299bc6a7c8428dc0 (patch) | |
tree | 6392bca40f386ab8a8b022109d9c393fcf9a43f6 /include/sway/desktop/launcher.h | |
parent | launcher: fudge the interface a bit (diff) | |
download | sway-97423ca9c79b4aa273b5d156299bc6a7c8428dc0.tar.gz sway-97423ca9c79b4aa273b5d156299bc6a7c8428dc0.tar.zst sway-97423ca9c79b4aa273b5d156299bc6a7c8428dc0.zip |
launcher: export xdga tokens and use them for workspace matching
(cherry picked from commit 30ad4dc4a5a41ce7c7aa85096a6e18f374172983)
Diffstat (limited to 'include/sway/desktop/launcher.h')
-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 { | |||
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 | ||
26 | struct launcher_ctx *launcher_ctx_create(void); | 28 | struct launcher_ctx *launcher_ctx_create(void); |
27 | 29 | ||
30 | const char *launcher_ctx_get_token_name(struct launcher_ctx *ctx); | ||
31 | |||
28 | #endif | 32 | #endif |