aboutsummaryrefslogtreecommitdiffstats
path: root/state.h
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.h
parentfix doc text (diff)
downloadcoopgammad-cf3b92233edaa90a504b07625972ea746271e9bb.tar.gz
coopgammad-cf3b92233edaa90a504b07625972ea746271e9bb.tar.bz2
coopgammad-cf3b92233edaa90a504b07625972ea746271e9bb.tar.xz
Terminate when display server terminatesHEAD1.3.4master
Signed-off-by: Mattias Andrée <m@maandree.se>
Diffstat (limited to '')
-rw-r--r--state.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/state.h b/state.h
index a76eee2..ca62e05 100644
--- a/state.h
+++ b/state.h
@@ -46,6 +46,11 @@ extern size_t outputs_n;
extern int socketfd;
/**
+ * The display server's file descriptor, -1 if unavailable or disconnected
+ */
+extern int displayfd;
+
+/**
* Has the process receive a signal
* telling it to re-execute?
*/