diff --git a/src/screen-share.c b/src/screen-share.c index d3e3f05a315966278dc20bc38b588e9b330ee396..6f60b81cfe95f9057bfaa74340991ee32bac0e51 100644 --- a/src/screen-share.c +++ b/src/screen-share.c @@ -1005,10 +1005,6 @@ weston_output_share(struct weston_output *output, } if (pid == 0) { - /* We don't want anything circular */ - unsetenv("WAYLAND_DISPLAY"); - unsetenv("WAYLAND_SOCKET"); - /* do not give our signal mask to the new process */ sigfillset(&allsigs); sigprocmask(SIG_UNBLOCK, &allsigs, NULL);