diff --git a/helpers/wayland_wrapper/kwin_wrapper.c b/helpers/wayland_wrapper/kwin_wrapper.c index 9e2ae9bb97..3dc76934df 100644 --- a/helpers/wayland_wrapper/kwin_wrapper.c +++ b/helpers/wayland_wrapper/kwin_wrapper.c @@ -59,7 +59,7 @@ pid_t launch_kwin(struct wl_socket *socket, int argc, char **argv) args[pos++] = NULL; - execvpe("kwin_wayland", args, environ); + execvp("kwin_wayland", args); free(args); exit(127); /* if exec fails */ } else {