mirror of
https://github.com/swaywm/sway.git
synced 2025-11-23 06:59:48 -05:00
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.
(cherry picked from commit f6d22f8e68)
This commit is contained in:
parent
1875e03dd0
commit
d91779d647
3 changed files with 31 additions and 6 deletions
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue