c0a76716c1
This doesn't actually stop us from calling setenv() in between fork() and exec() when starting clients, but gets us closer to Xwayland's safe implementation by reusing one of the helpers it added. Signed-off-by: Daniel Stone <daniels@collabora.com>