aboutsummaryrefslogtreecommitdiffstats
path: root/libgamma_quartz_cg_get_fd.c
diff options
context:
space:
mode:
authorMattias Andrée <m@maandree.se>2026-11-20 15:45:17 +0100
committerMattias Andrée <m@maandree.se>2026-11-20 15:45:17 +0100
commit6421c8217b38d7b5605c652b89793b2de0192d91 (patch)
tree5234e86fc5d223be29e0751b0e6165d26ba12f55 /libgamma_quartz_cg_get_fd.c
parentfix typo (diff)
downloadlibgamma-0.9.tar.gz
libgamma-0.9.tar.bz2
libgamma-0.9.tar.xz
Add libgamma_get_fd and fix some minor issuesHEAD0.9master
Signed-off-by: Mattias Andrée <m@maandree.se>
Diffstat (limited to 'libgamma_quartz_cg_get_fd.c')
-rw-r--r--libgamma_quartz_cg_get_fd.c18
1 files changed, 18 insertions, 0 deletions
diff --git a/libgamma_quartz_cg_get_fd.c b/libgamma_quartz_cg_get_fd.c
new file mode 100644
index 0000000..478a584
--- /dev/null
+++ b/libgamma_quartz_cg_get_fd.c
@@ -0,0 +1,18 @@
+/* See LICENSE file for copyright and license details. */
+#define IN_LIBGAMMA_QUARTZ_CG
+#include "common.h"
+
+
+/**
+ * Get the file descriptor used to communicate with the display server
+ *
+ * @param this The site state
+ * @return -1, as this adjustment method does not use a file descriptor
+ * to communicate with the display server
+ */
+int
+libgamma_quartz_cg_get_fd(struct libgamma_site_state *restrict this)
+{
+ (void) this;
+ return -1;
+}