Drop obsolete LISTEN_PID and comments

This commit is contained in:
Patrick Nicolas
2024-11-14 17:02:09 +01:00
parent 00a25487fe
commit c391bd4d72
-3
View File
@@ -256,8 +256,6 @@ void start_server()
close(stdin_pipe_fds[1]);
}
setenv("LISTEN_PID", std::to_string(getpid()).c_str(), true);
// In most cases there is no server-side reprojection and
// there is no need for oversampling.
setenv("XRT_COMPOSITOR_SCALE_PERCENTAGE", "100", false);
@@ -316,7 +314,6 @@ void kill_app()
void kill_server()
{
// FIXME: server doesn't listen on stdin when used in socket activation mode
// Write to the server's stdin to make it quit
char buffer[] = "\n";
if (write(stdin_pipe_fds[1], &buffer, strlen(buffer)) < 0)