diff options
author | Ronan Pigott <ronan@rjp.ie> | 2022-11-16 15:50:34 -0700 |
---|---|---|
committer | Simon Ser <contact@emersion.fr> | 2022-11-26 09:48:58 +0100 |
commit | 66568508c06267445489d655c91c94a34d6d9ffe (patch) | |
tree | 90b6abe3eefb6c95c89afa554281c0fd67749db3 /sway/server.c | |
parent | 864b3a9a18f236f92f1898bb44ab977ceaebfd68 (diff) |
launcher: initialize launcher_ctxs once on startup
Diffstat (limited to 'sway/server.c')
-rw-r--r-- | sway/server.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sway/server.c b/sway/server.c index 042f20be..b750d10c 100644 --- a/sway/server.c +++ b/sway/server.c @@ -220,6 +220,8 @@ bool server_init(struct sway_server *server) { wl_signal_add(&server->xdg_activation_v1->events.request_activate, &server->xdg_activation_v1_request_activate); + wl_list_init(&server->pending_launcher_ctxs); + // Avoid using "wayland-0" as display socket char name_candidate[16]; for (unsigned int i = 1; i <= 32; ++i) { |