#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <ctype.h>
#include <math.h>
#include "limits.h"
#include <unistd.h>
#include "config.h"
#include <X11/Xlib.h>
#include <X11/Xutil.h>
#include <X11/Xatom.h>
#include <X11/extensions/Xinerama.h>
#include "oyranos.h"
#include "oyranos_internal.h"
#include "oyranos_monitor_internal.h"
#include "oyranos_debug.h"
#include "oyranos_helper.h"
#include "oyranos_sentinel.h"
Defines | |
#define | DEBUG 1 |
Functions | |
int | oyGetMonitorInfo (const char *display, char **manufacturer, char **model, char **serial, oyAllocFunc_t allocate_func) |
pick up monitor information with Xlib | |
char * | oyGetMonitorProfile (const char *display, size_t *size, oyAllocFunc_t allocate_func) |
get the monitor profile | |
char * | oyGetMonitorProfileName (const char *display, oyAllocFunc_t allocate_func) |
get the monitor profile filename | |
int | oySetMonitorProfile (const char *display_name, const char *profil_name) |
set the monitor profile by filename | |
int | oyActivateMonitorProfiles (const char *display_name) |
activate the monitor using the stored configuration | |
int | oyGetScreenFromPosition (const char *display_name, int x, int y) |
screen number from position | |
char * | oyGetDisplayNameFromPosition (const char *display_name, int x, int y, oyAllocFunc_t allocate_func) |
display name from position |
This file contains functions implementing the Oyranos Monitor API.
For the Oyranos Monitor API see
#define DEBUG 1 |
monitor device detection