aboutsummaryrefslogtreecommitdiffstats
path: root/state.c
diff options
context:
space:
mode:
authorMattias Andrée <m@maandree.se>2026-11-20 16:56:47 +0100
committerMattias Andrée <m@maandree.se>2026-11-20 16:56:47 +0100
commitcf3b92233edaa90a504b07625972ea746271e9bb (patch)
tree4ef72b60b18266de799bc8394a91f2ed0b84293b /state.c
parentfix doc text (diff)
downloadcoopgammad-73e50c0c8b5f5660052ff2c268ff1aa6d6cef571.tar.gz
coopgammad-73e50c0c8b5f5660052ff2c268ff1aa6d6cef571.tar.bz2
coopgammad-73e50c0c8b5f5660052ff2c268ff1aa6d6cef571.tar.xz
Terminate when display server terminatesHEAD1.3.4master
Signed-off-by: Mattias Andrée <m@maandree.se>
Diffstat (limited to 'state.c')
-rw-r--r--state.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/state.c b/state.c
index f3ddffa..1907812 100644
--- a/state.c
+++ b/state.c
@@ -35,6 +35,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?
*/