Randr interface. More...
#include "gamma.h"
#include <stdint.h>
#include <xcb/xcb.h>
#include <xcb/randr.h>
Functions | |
int | randr_init (int screen_num, int crtc_num) |
Initialize Randr. | |
int | randr_free (void) |
Frees Randr. | |
void | randr_restore (void) |
Restores saved gamma ramps. | |
int | randr_set_temperature (int temp, gamma_s gamma) |
Sets the temperature using Randr. | |
int | randr_get_temperature (void) |
Retrieves the temperature. | |
int | randr_load_funcs (gamma_method_s *method) |
loads functions into methods structure |
Randr interface.
int randr_get_temperature | ( | void | ) |
Retrieves the temperature.