GUI-FreeRDP/xrandr.h

33 lines
458 B
C
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

/*
* xrandr.h
*
* Created on: 11 июл. 2022 г.
* Author: alexander
*/
#ifndef XRANDR_H_
#define XRANDR_H_
typedef struct
{
char name[10];
char *ptrName;
char *ptrIndexItem;
char *ptrIndexMonitor;
int width;
int height;
int primary;
} x_monitor;
typedef struct
{
int count;
x_monitor monitor[5];
} x_info;
int XInfo(x_info *info);
x_info *getXInfo();
void freeXInfo(x_info *info);
#endif /* XRANDR_H_ */