aboutsummaryrefslogtreecommitdiffstats
path: root/libgamma_x_randr_get_fd.c
blob: 3b4f83f1778a3c4540c0415d9701dcd7ff117d46 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
/* See LICENSE file for copyright and license details. */
#define IN_LIBGAMMA_X_RANDR
#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_randr_get_fd(struct libgamma_site_state *restrict this)
{
	return xcb_get_file_descriptor((xcb_connection_t *)this->data);
}