diff options
author | Ronan Pigott <ronan@rjp.ie> | 2022-11-30 11:54:15 -0700 |
---|---|---|
committer | Ronan Pigott <ronan@rjp.ie> | 2023-02-05 00:53:47 -0700 |
commit | dbc1eec850d75b9d4b88960cce057d5286cb9dc0 (patch) | |
tree | 7f351e5f705ef6c1fda746c608552d3dfae1dde5 /include/sway/desktop | |
parent | view: make request_activate take a seat (diff) | |
download | sway-dbc1eec850d75b9d4b88960cce057d5286cb9dc0.tar.gz sway-dbc1eec850d75b9d4b88960cce057d5286cb9dc0.tar.zst sway-dbc1eec850d75b9d4b88960cce057d5286cb9dc0.zip |
launcher: make launcher context seat aware
Diffstat (limited to 'include/sway/desktop')
-rw-r--r-- | include/sway/desktop/launcher.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/include/sway/desktop/launcher.h b/include/sway/desktop/launcher.h index d5651adf..b7716e82 100644 --- a/include/sway/desktop/launcher.h +++ b/include/sway/desktop/launcher.h | |||
@@ -6,7 +6,7 @@ | |||
6 | 6 | ||
7 | struct launcher_ctx { | 7 | struct launcher_ctx { |
8 | pid_t pid; | 8 | pid_t pid; |
9 | char *name; | 9 | char *fallback_name; |
10 | struct wlr_xdg_activation_token_v1 *token; | 10 | struct wlr_xdg_activation_token_v1 *token; |
11 | struct wl_listener token_destroy; | 11 | struct wl_listener token_destroy; |
12 | 12 | ||
@@ -26,7 +26,10 @@ void launcher_ctx_consume(struct launcher_ctx *ctx); | |||
26 | 26 | ||
27 | void launcher_ctx_destroy(struct launcher_ctx *ctx); | 27 | void launcher_ctx_destroy(struct launcher_ctx *ctx); |
28 | 28 | ||
29 | struct launcher_ctx *launcher_ctx_create(void); | 29 | struct launcher_ctx *launcher_ctx_create_internal(void); |
30 | |||
31 | struct launcher_ctx *launcher_ctx_create( | ||
32 | struct wlr_xdg_activation_token_v1 *token, struct sway_node *node); | ||
30 | 33 | ||
31 | const char *launcher_ctx_get_token_name(struct launcher_ctx *ctx); | 34 | const char *launcher_ctx_get_token_name(struct launcher_ctx *ctx); |
32 | 35 | ||