diff options
author | Ronan Pigott <ronan@rjp.ie> | 2024-02-07 16:13:25 -0700 |
---|---|---|
committer | Ronan Pigott <ronan@rjp.ie> | 2024-02-17 00:54:30 -0700 |
commit | f6d22f8e6886edfeca3ecbb695b02079e81ce360 (patch) | |
tree | 75cb3af1922edc274cd5d7a35d68810dbe86ffe4 /include | |
parent | 541e6e260c2df0346b421cacfaf4ce5d204c49ba (diff) |
launcher: track the seat in the launcher ctx
This is a more suitable place to track the requesting seat, since we are
able to respond appropriately to destroy notifications.
Diffstat (limited to 'include')
-rw-r--r-- | include/sway/desktop/launcher.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/sway/desktop/launcher.h b/include/sway/desktop/launcher.h index b7716e82..ad465a9e 100644 --- a/include/sway/desktop/launcher.h +++ b/include/sway/desktop/launcher.h @@ -3,12 +3,15 @@ #include <stdlib.h> #include <wayland-server-core.h> +#include "sway/input/seat.h" struct launcher_ctx { pid_t pid; char *fallback_name; struct wlr_xdg_activation_token_v1 *token; struct wl_listener token_destroy; + struct sway_seat *seat; + struct wl_listener seat_destroy; bool activated; |