diff options
Diffstat (limited to 'libgamma_x_randr_site_destroy.c')
-rw-r--r-- | libgamma_x_randr_site_destroy.c | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/libgamma_x_randr_site_destroy.c b/libgamma_x_randr_site_destroy.c new file mode 100644 index 0000000..ba4d836 --- /dev/null +++ b/libgamma_x_randr_site_destroy.c @@ -0,0 +1,15 @@ +/* See LICENSE file for copyright and license details. */ +#define IN_LIBGAMMA_X_RANDR +#include "common.h" + + +/** + * Release all resources held by a site state + * + * @param this The site state + */ +void +libgamma_x_randr_site_destroy(libgamma_site_state_t *restrict this) +{ + xcb_disconnect((xcb_connection_t *)this->data); +} |