summaryrefslogtreecommitdiffstats
path: root/src/compositor.c
diff options
context:
space:
mode:
authorMarius Vlad <marius.vlad@collabora.com>2022-09-20 10:10:01 +0300
committerMarius Vlad <marius.vlad@collabora.com>2022-09-23 18:15:11 +0300
commitf980c0d90329bf83a082c966d69b0015e34c218b (patch)
tree830c6f798f2781b51435956d5daed330738aa789 /src/compositor.c
parentedb6d397a4c6e66aff8227bdd0f7f42ff07203f9 (diff)
shell: Rewrite client_exec as client_launch
This patch is a major rewrite of the client_exec which fixes a couple of issues found by upstream. Specifically this address the following two issues: - Do not weston_log() after fork() - Own the session for the launched client These two issues were integrated into this single patch. It makes use of previously added wrappers to handle custom environment being passed to the (shell) client being executed. (Based on the work from https://gitlab.freedesktop.org/wayland/weston/-/merge_requests/954 and from https://gitlab.freedesktop.org/wayland/weston/-/merge_requests/817) Bug-AGL: SPEC-4509 Signed-off-by: Marius Vlad <marius.vlad@collabora.com> Change-Id: I29d4bcacba3671f67bb915bdb55a80b556e143ac
Diffstat (limited to 'src/compositor.c')
-rw-r--r--src/compositor.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/compositor.c b/src/compositor.c
index 7540fe3..e03b860 100644
--- a/src/compositor.c
+++ b/src/compositor.c
@@ -1646,6 +1646,7 @@ int wet_main(int argc, char *argv[], const struct weston_testsuite_data *test_da
wl_list_init(&ivi.split_pending_apps);
wl_list_init(&ivi.remote_pending_apps);
wl_list_init(&ivi.desktop_clients);
+ wl_list_init(&ivi.child_process_list);
/* Prevent any clients we spawn getting our stdin */
os_fd_set_cloexec(STDIN_FILENO);