/* See LICENSE file for copyright and license details. */ #define IN_LIBGAMMA_X_VIDMODE #include "common.h" /** * Get the file descriptor used to communicate with the display server * * @param this The site state * @return The file descriptor */ int libgamma_x_vidmode_get_fd(struct libgamma_site_state *restrict this) { return ConnectionNumber((Display *)this->data); }