aboutsummaryrefslogblamecommitdiffstats
path: root/libgamma_quartz_cg_partition_restore.c
blob: f104738cc485c580f497c25d412c8075dfa0142c (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
                                                         
                             










                                                                             
                                                                                    


                                                           
/* See LICENSE file for copyright and license details. */
#define IN_LIBGAMMA_QUARTZ_CG
#include "common.h"


/**
 * Restore the gamma ramps all CRTC:s with a partition to the system settings
 * 
 * @param   this  The partition state
 * @return        Zero on success, otherwise (negative) the value of an
 *                error identifier provided by this library
 */
int
libgamma_quartz_cg_partition_restore(struct libgamma_partition_state *restrict this)
{
	return libgamma_quartz_cg_site_restore(this->site);
}