From cf3b92233edaa90a504b07625972ea746271e9bb Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Fri, 20 Nov 2026 16:56:47 +0100 Subject: Terminate when display server terminates MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- state.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'state.c') diff --git a/state.c b/state.c index f3ddffa..1907812 100644 --- a/state.c +++ b/state.c @@ -34,6 +34,11 @@ size_t outputs_n = 0; */ int socketfd = -1; +/** + * The display server's file descriptor, -1 if unavailable or disconnected + */ +int displayfd = -1; /* do not marshal */ + /** * Has the process receive a signal * telling it to re-execute? -- cgit v1.3.1