From c391bd4d72f1102f1bb49a78127e6d7c9c8e1412 Mon Sep 17 00:00:00 2001 From: Patrick Nicolas Date: Thu, 14 Nov 2024 17:01:35 +0100 Subject: [PATCH] Drop obsolete LISTEN_PID and comments --- server/main.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/server/main.cpp b/server/main.cpp index ad4c423d..5aeb0399 100644 --- a/server/main.cpp +++ b/server/main.cpp @@ -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)