From 4cda9ee3a3aa122f3f1a6f570d8befa78083c1b5 Mon Sep 17 00:00:00 2001 From: Ronan Pigott Date: Wed, 30 Nov 2022 11:54:50 -0700 Subject: launcher: support external launcher tokens --- include/sway/server.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'include') diff --git a/include/sway/server.h b/include/sway/server.h index 309d9d3e..a65843ce 100644 --- a/include/sway/server.h +++ b/include/sway/server.h @@ -114,6 +114,7 @@ struct sway_server { struct wlr_xdg_activation_v1 *xdg_activation_v1; struct wl_listener xdg_activation_v1_request_activate; + struct wl_listener xdg_activation_v1_new_token; struct wl_list pending_launcher_ctxs; // launcher_ctx::link @@ -175,6 +176,8 @@ void handle_xdg_decoration(struct wl_listener *listener, void *data); void handle_pointer_constraint(struct wl_listener *listener, void *data); void xdg_activation_v1_handle_request_activate(struct wl_listener *listener, void *data); +void xdg_activation_v1_handle_new_token(struct wl_listener *listener, + void *data); void set_rr_scheduling(void); -- cgit v1.2.3