GUI-FreeRDP/xrandr.h

33 lines
458 B
C
Raw Normal View History

/*
* 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_ */