mirror of
https://github.com/swaywm/sway.git
synced 2026-03-04 01:41:11 -05:00
launcher: support external launcher tokens
This commit is contained in:
parent
dbc1eec850
commit
4cda9ee3a3
3 changed files with 20 additions and 0 deletions
|
|
@ -225,6 +225,10 @@ bool server_init(struct sway_server *server) {
|
|||
xdg_activation_v1_handle_request_activate;
|
||||
wl_signal_add(&server->xdg_activation_v1->events.request_activate,
|
||||
&server->xdg_activation_v1_request_activate);
|
||||
server->xdg_activation_v1_new_token.notify =
|
||||
xdg_activation_v1_handle_new_token;
|
||||
wl_signal_add(&server->xdg_activation_v1->events.new_token,
|
||||
&server->xdg_activation_v1_new_token);
|
||||
|
||||
wl_list_init(&server->pending_launcher_ctxs);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue