mirror of
https://github.com/swaywm/sway.git
synced 2025-11-16 06:59:49 -05:00
launcher: initialize launcher_ctxs once on startup
This commit is contained in:
parent
864b3a9a18
commit
66568508c0
5 changed files with 13 additions and 12 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue