From 6421c8217b38d7b5605c652b89793b2de0192d91 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Fri, 20 Nov 2026 15:45:17 +0100 Subject: Add libgamma_get_fd and fix some minor issues MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- libgamma_dummy_get_fd.c | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 libgamma_dummy_get_fd.c (limited to 'libgamma_dummy_get_fd.c') diff --git a/libgamma_dummy_get_fd.c b/libgamma_dummy_get_fd.c new file mode 100644 index 0000000..631967c --- /dev/null +++ b/libgamma_dummy_get_fd.c @@ -0,0 +1,18 @@ +/* See LICENSE file for copyright and license details. */ +#define IN_LIBGAMMA_DUMMY +#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_dummy_get_fd(struct libgamma_site_state *restrict this) +{ + (void) this; + return -1; +} -- cgit v1.3.1